NTMModel<T, TInput, TOutput>
Models & Types · AiDotNet.MetaLearning.Algorithms
NTM model for inference with persistent memory.
Implements: IModel<TInput, TOutput, ModelMetadata<T>>
Constructors
| Constructor | Summary |
|---|---|
NTMModel(INTMController<T> controller, NTMMemory<T> memory, List<NTMReadHead<T>> readHeads, NTMWriteHead<T> writeHead, NTMOptions<T, TInput, TOutput> options) |
Initializes a new instance of the NTMModel class. |
Properties
| Property | Summary |
|---|---|
ModelMetadata<T> Metadata { get; } |
Methods
| Method | Summary |
|---|---|
ModelMetadata<T> GetModelMetadata() |
|
TOutput Predict(TInput input) |
|
Vector<T> GetParameters() |
|
void Train(TInput inputs, TOutput targets) |
|
void UpdateParameters(Vector<T> parameters) |