SPPFLayer<T>

Layers · AiDotNet.ComputerVision.Detection.Backbones

Spatial Pyramid Pooling - Fast: a 1x1 Conv to half width, three chained 5x5 stride-1 max pools, and a 1x1 Conv over the four concatenated maps (equivalent to SPP’s 5/9/13 pools, at a third of the cost).

Inheritance: LayerBase<T> → SPPFLayer<T>

Implements: IShapeContract

Constructors

Constructor Summary
SPPFLayer(int inChannels, int outChannels, int poolSize) Creates an SPPF from inChannels to outChannels.

Properties

Property Summary
bool SupportsTraining { get; }

Methods

Method Summary
IReadOnlyList<ILayer<T>> GetSubLayers()
IReadOnlyList<OutputAxisContract> OutputAxesFor(int inputRank)
void ResetState()
void SetTrainingMode(bool isTraining)
void UpdateParameters(T learningRate)