SwinTransformerOptions

Options & Configuration · AiDotNet.ComputerVision.Detection.Backbones

Configuration options for the SwinTransformer detection backbone.

Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → DetectionBackboneOptions → SwinTransformerOptions

How It Works

Introduced by issue #2090: these values were constructor parameters, so the backbone advertised no configuration surface at all and nothing could be set through an options object.

Constructors

Constructor Summary
SwinTransformerOptions()

Properties

Property Summary
SwinVariant Variant { get; set; } Gets or sets which published size of the model to build.
int WindowSize { get; set; } Side length, in patches, of the local window self-attention is computed within.

Methods

Method Summary
void Validate() Throws when a value on this instance cannot produce a working backbone.