Pix2StructOptions
Options & Configuration · AiDotNet.Document.Options
Configuration options for the Pix2Struct document model.
Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → DocumentNeuralNetworkOptions → Pix2StructOptions
Constructors
| Constructor | Summary |
|---|---|
Pix2StructOptions() |
Initializes a new instance of the Pix2StructOptions class carrying this model’s shipped defaults. |
Properties
| Property | Summary |
|---|---|
int MaxPatches { get; set; } |
Gets or sets the max patches. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Throws if a value this model requires has been left unset or is not positive. |