MatrixFieldParameterSource<T>
Models & Types · AiDotNet.Models.Parameters
A Matrix field exposed as a parameter surface, written through.
Implements: IParameterLayoutSource, IParameterSource<T>
How It Works
Row-major, matching MatrixParameterSource,
so a model that moves between the two keeps its serialization layout.
Constructors
| Constructor | Summary |
|---|---|
MatrixFieldParameterSource(Func<Matrix<T>> accessor) |
Creates a source over whatever matrix accessor currently returns. |
Properties
| Property | Summary |
|---|---|
long ParameterCount { get; } |
Methods
| Method | Summary |
|---|---|
IReadOnlyList<ParameterSlotDescriptor> GetParameterLayout() |
|
Vector<T> GetParameters() |
|
void SetParameters(Vector<T> parameters) |