TensorFieldParameterSource<T>
Models & Types · AiDotNet.Models.Parameters
A Tensor field exposed as a parameter surface, written through.
Implements: IParameterChunkSource<T>, IParameterLayoutSource, IParameterSource<T>
Constructors
| Constructor | Summary |
|---|---|
TensorFieldParameterSource(Func<Tensor<T>> accessor) |
Creates a source over whatever tensor accessor currently returns. |
Properties
| Property | Summary |
|---|---|
long ParameterCount { get; } |
Methods
| Method | Summary |
|---|---|
IEnumerable<ParameterChunk<T>> GetParameterStateChunks() |
Exposes dense tensor fields directly so registry checkpoints do not download their values. |
IReadOnlyList<ParameterSlotDescriptor> GetParameterLayout() |
|
Vector<T> GetParameters() |
|
void SetParameters(Vector<T> parameters) |