DiTOptions
Options & Configuration · AiDotNet.Document.Options
Configuration options for the DiT document model.
Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → DocumentNeuralNetworkOptions → DiTOptions
Constructors
| Constructor | Summary |
|---|---|
DiTOptions() |
Initializes a new instance of the DiTOptions class carrying this model’s shipped defaults. |
Properties
| Property | Summary |
|---|---|
DiTModelSize ModelSize { get; set; } |
Gets or sets the published DiT variant this configuration describes (Li et al. |
Methods
| Method | Summary |
|---|---|
DiTOptions UseModelSize(DiTModelSize size) |
Configures a published DiT variant (Li et al. |
void Validate() |
Throws if a value this model requires has been left unset or is not positive. |