DocFormerOptions

Options & Configuration · AiDotNet.Document.Options

Configuration options for the DocFormer document model.

Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → DocumentNeuralNetworkOptions → DocFormerOptions

Constructors

Constructor Summary
DocFormerOptions() Initializes a new instance of the DocFormerOptions class carrying this model’s shipped defaults.

Properties

Property Summary
int MaxRelativePositions { get; set; } Gets or sets the clip distance of the relative 1-D position tables in multi-modal attention.
int SpatialDim { get; set; } Gets or sets the width of each spatial lookup table.

Methods

Method Summary
void Validate() Throws if a value this model requires has been left unset or is not positive.