Interface IGenerativeModel<T>
- Namespace
- AiDotNet.ContinualLearning
- Assembly
- AiDotNet.dll
Interface for generative models used with GenerativeReplay.
public interface IGenerativeModel<T>
Type Parameters
TThe numeric type for calculations.
Methods
GenerateSamples(int)
Generates synthetic samples from the learned distribution.
(Tensor<T>? inputs, Tensor<T>? targets) GenerateSamples(int count)
Parameters
countintNumber of samples to generate.
Returns
Train(Tensor<T>, Tensor<T>)
Trains the generative model on the provided data.
void Train(Tensor<T> inputs, Tensor<T> targets)
Parameters
inputsTensor<T>Training inputs.
targetsTensor<T>Training targets.