IAssociativeMemory<T>

Interfaces · AiDotNet.Interfaces

Interface for Associative Memory modules used in nested learning. Models both backpropagation and attention mechanisms as associative memory.

Known implementations: AssociativeMemory<T>

Properties

Property Summary
int Capacity { get; } Gets the memory capacity.

Methods

Method Summary
Vector<T> Retrieve(Vector<T> query) Retrieves the associated output for a given input query.
void Associate(Vector<T> input, Vector<T> target) Associates an input with a target output (learns the mapping).
void Clear() Clears all stored associations.
void Update(Vector<T> input, Vector<T> target, T learningRate) Updates the memory based on new associations.