ICompiledTrainingPlan<T>
Interfaces · AiDotNet.Tensors.Engines.Compilation
No summary documentation available yet.
Implements: IDisposable
Properties
| Property | Summary |
|---|---|
Tensor<T>[] Gradients { get; } |
|
bool LastStepSkippedNonFiniteGradients { get; } |
|
int BackwardStepCount { get; } |
|
int ForwardStepCount { get; } |
|
int NonFiniteStepsSkipped { get; } |
Methods
| Method | Summary |
|---|---|
Task SaveAsync(Stream stream, CancellationToken cancellationToken) |
|
Tensor<T> Step() |
|
bool IsCompatibleWith(PlanCompatibilityInfo info) |
|
byte[] ExportOptimizerState() |
|
void ConfigureOptimizer(OptimizerType optimizerType, LrSchedule schedule, double beta1, double beta2, double eps, double weightDecay, FusedOptimizerExtras extras) |
|
void ConfigureOptimizer(OptimizerType optimizerType, double learningRate, double beta1, double beta2, double eps, double weightDecay, FusedOptimizerExtras extras) |
|
void ConfigureOptimizerGrouped(OptimizerType optimizerType, IReadOnlyList<LrSchedule> groupSchedules, IReadOnlyList<int> paramToGroup, double beta1, double beta2, double eps, double weightDecay, FusedOptimizerExtras extras) |
|
void ConfigureOptimizerGrouped(OptimizerType optimizerType, IReadOnlyList<OptimizerType> groupOptimizerTypes, IReadOnlyList<LrSchedule> groupSchedules, IReadOnlyList<int> paramToGroup, double beta1, double beta2, double eps, double weightDecay, IReadOnlyList<double> groupWeightDecays, FusedOptimizerExtras extras) |
|
void ContinueOptimizerFrom(ICompiledTrainingPlan<T> previous) |
|
void EnableCheckpointing(int segmentSize) |
|
void EnableFrozenWeightOptimizations() |
|
void ImportOptimizerState(byte[] state) |
|
void RequestBf16MomentStorage(bool enabled) |
|
void RequestInt8MomentStorage(bool enabled, int blockSize, int minQuantizedLength) |
|
void SetInputs(Tensor<T>[] inputs) |
|
void SetL2Regularization(double strength) |
|
void SetMaxGradNorm(double maxNorm) |
|
void StepInto(Tensor<T> lossOutput) |