GradientCheckpointing<T>
Helpers & Utilities · AiDotNet.Tensors.Engines.Autodiff
No summary documentation available yet.
Methods
| Method | Summary |
|---|---|
Tensor<T> Checkpoint(IReadOnlyList<Func<Tensor<T>, Tensor<T>>> functions, Tensor<T> input, Func<IReadOnlyList<Tensor<T>>> parameterSourceFactory, int segmentSize) |
|
Tensor<T> Checkpoint(IReadOnlyList<Func<Tensor<T>, Tensor<T>>> functions, Tensor<T> input, int segmentSize) |
|
Tensor<T> CheckpointSegments(IReadOnlyList<Func<Tensor<T>, Tensor<T>>> functions, Tensor<T> input, IReadOnlyList<IReadOnlyList<Tensor<T>>> segmentParameters, int segmentSize, Func<Tensor<T>, Tensor<T>, bool> tryConsumeParameterGradient) |