CSPBottleneckBlock<T>

Models & Types · AiDotNet.ComputerVision.Detection.Backbones

Bottleneck block with residual connection used inside CSP blocks. Renamed from BottleneckBlock to CSPBottleneckBlock to avoid clashing with the layer-level BottleneckBlock<T> in NeuralNetworks.Layers.

Inheritance: LayerBase<T> → CSPBottleneckBlock<T>

Implements: IShapeContract

Constructors

Constructor Summary
CSPBottleneckBlock(int channels, IActivationFunction<T> activation, bool add)

Properties

Property Summary
bool SupportsTraining { get; }

Methods

Method Summary
IReadOnlyList<ILayer<T>> GetSubLayers()
IReadOnlyList<OutputAxisContract> OutputAxesFor(int inputRank) Derived from this type’s [TensorLayout] declarations.
long GetParameterCount()
void ReadParameters(BinaryReader reader)
void ResetState()
void SetTrainingMode(bool isTraining)
void UpdateParameters(T learningRate)
void WriteParameters(BinaryWriter writer)