DoubleScalarParameterSource<T>
Models & Types · AiDotNet.Models.Parameters
Exposes an explicitly-marked Double field as one write-through parameter.
Implements: IParameterLayoutSource, IParameterSource<T>
Constructors
| Constructor | Summary |
|---|---|
DoubleScalarParameterSource(Func<double> get, Action<double> set) |
Properties
| Property | Summary |
|---|---|
long ParameterCount { get; } |
Methods
| Method | Summary |
|---|---|
IReadOnlyList<ParameterSlotDescriptor> GetParameterLayout() |
|
Vector<T> GetParameters() |
|
void SetParameters(Vector<T> parameters) |