ParameterLayoutSnapshot
Models & Types · AiDotNet.Models.Parameters
A single deterministic snapshot consumed by count, vector, restore and checkpoint code.
Constructors
| Constructor |
Summary |
ParameterLayoutSnapshot(IReadOnlyList<ParameterSlotDescriptor> slots) |
Creates a layout snapshot from already ordered slots. |
Properties
| Property |
Summary |
IReadOnlyList<ParameterSlotDescriptor> Slots { get; } |
Slots in stable-ID order. |
ParameterReadiness Readiness { get; } |
The aggregate readiness of this snapshot. |
int SchemaVersion { get; } |
The version of the canonical manifest representation. |
long KnownParameterCount { get; } |
The exact width of every slot whose size is currently known, including resolved slots that have deliberately not allocated their backing storage yet. |
long MaterializedParameterCount { get; } |
The exact number of values the live flat parameter surface can emit without allocating lazy storage. |
long RestorableParameterCount { get; } |
The exact width an immediate flat parameter read is required to emit: every declared slot whose shape is known, plus the live storage of slots whose remaining shape is still deferred. |
long? DeclaredParameterCount { get; } |
The structural total when every slot can be sized, or null while any required shape is unresolved. |
long? ParameterCount { get; } |
The exact total, or null rather than a false zero when a shape is deferred. |
string DeclaredLayoutFingerprint { get; } |
A SHA-256 digest of the durable parameter schema, excluding only the current allocation state. |
string Fingerprint { get; } |
A SHA-256 digest of stable IDs, semantic roles and resolved counts in canonical order. |
Fields
| Field |
Summary |
int CurrentSchemaVersion |
The canonical manifest schema used to compute Fingerprint. |