DimensionDivisibilityAttribute
Attributes ยท AiDotNet.Attributes
Declares that one integer model dimension must be evenly divisible by another integer configuration property.
Inheritance: Attribute โ DimensionDivisibilityAttribute
How It Works
The relationship is part of the architecture, not merely input validation. Test-scale
option generation reads this metadata after reducing paper-scale values so it can preserve
constraints such as HiddenDim % NumAttentionHeads == 0 without per-model branches.
Constructors
| Constructor | Summary |
|---|---|
DimensionDivisibilityAttribute(string dimensionProperty, string divisorProperty) |
Initializes a new divisibility relationship. |
Properties
| Property | Summary |
|---|---|
string DimensionProperty { get; } |
Gets the integer dimension property name. |
string DivisorProperty { get; } |
Gets the integer divisor property name. |