KeyedVectorCollectionParameterSource<T, TKey>
Models & Types · AiDotNet.Models.Parameters
A key-stable vector dictionary exposed as one parameter source.
Implements: IParameterLayoutSource, IParameterSource<T>
Constructors
| Constructor | Summary |
|---|---|
KeyedVectorCollectionParameterSource(Func<IEnumerable<KeyValuePair<TKey, Vector<T>>>> get) |
Properties
| Property | Summary |
|---|---|
long ParameterCount { get; } |
Methods
| Method | Summary |
|---|---|
IReadOnlyList<ParameterSlotDescriptor> GetParameterLayout() |
|
Vector<T> GetParameters() |
|
void SetParameters(Vector<T> parameters) |