ParameterSlotDescriptor
Models & Types · AiDotNet.Models.Parameters
An immutable, stable description of one model-state slot.
Constructors
| Constructor | Summary |
|---|---|
ParameterSlotDescriptor(string stableId, ParameterSlotRole role, ParameterReadiness readiness, long? parameterCount, long? offset, IReadOnlyList<int> shape, string elementType, ParameterUpdatePolicy? updatePolicy, ParameterPersistence? persistence, ParameterOwnership? ownership, ParameterAvailability availability, long? materializedParameterCount) |
Creates a slot descriptor. |
Properties
| Property | Summary |
|---|---|
IReadOnlyList<int> Shape { get; } |
The concrete or symbolic tensor shape. |
ParameterAvailability Availability { get; } |
The lifecycle point at which this slot is expected to become available. |
ParameterOwnership Ownership { get; } |
Whether this slot owns, aliases, or externally references its storage. |
ParameterPersistence Persistence { get; } |
Whether this slot participates in durable checkpoint state. |
ParameterReadiness Readiness { get; } |
Whether the slot has a fully usable layout. |
ParameterSlotRole Role { get; } |
The semantic role of this slot. |
ParameterUpdatePolicy UpdatePolicy { get; } |
The only mechanism permitted to mutate this slot. |
long MaterializedParameterCount { get; } |
The exact number of values currently backed by readable storage. |
long? Offset { get; } |
The offset in the selected flat layout, or null when any preceding count is unresolved. |
long? ParameterCount { get; } |
The resolved count, or null while the shape is deferred. |
string ElementType { get; } |
Canonical numeric element type used by shape-aware checkpoint and schema validation. |
string StableId { get; } |
A durable field/component path, independent of reflection and declaration order. |