DenseBlockLayer<T>

Layers · AiDotNet.NeuralNetworks.Layers

A single layer within a DenseBlock: BN-ReLU-Conv1x1-BN-ReLU-Conv3x3.

Inheritance: LayerBase<T> → DenseBlockLayer<T>

Implements: IShapeContract

Constructors

Constructor Summary
DenseBlockLayer(int growthRate, double bnMomentum) Lazy ctor — input depth/height/width come from the first Forward call (OnFirstForward); only growthRate/bnMomentum are required at construction.
DenseBlockLayer(int growthRate, double bnMomentum, bool convolutionBias) Lazy ctor with the convolutions’ bias stated.

Properties

Property Summary
bool SupportsTraining { get; }

Methods

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