MATCHAOptions

Options & Configuration · AiDotNet.Document.Options

Configuration options for the MATCHA document model.

Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → DocumentNeuralNetworkOptions → MATCHAOptions

Constructors

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

Properties

Property Summary
int DecoderDim { get; set; } Gets or sets the decoder dim.
int DecoderLayers { get; set; } Gets or sets the decoder layers.
int EncoderDim { get; set; } Gets or sets the encoder dim.
int EncoderLayers { get; set; } Gets or sets the encoder layers.
int MaxPatchesPerImage { get; set; } Gets or sets the max patches per image.

Methods

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