YoloBottleneck<T>
Models & Types · AiDotNet.ComputerVision.Detection.Backbones
YOLO’s Bottleneck: two 3x3 Convs, with the input added back when shortcut and widths match.
Inheritance: LayerBase<T> → YoloBottleneck<T>
Implements: IShapeContract
Constructors
| Constructor | Summary |
|---|---|
YoloBottleneck(int channels, bool shortcut, double expansion) |
Creates a bottleneck of channels in and out. |
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) |