Expand description
Structs§
- NoGrad
Guard - Disables gradient tracking on this thread until dropped.
- Tensor
- A multi-dimensional
f32array on aDevice, with reverse-mode automatic differentiation.
Functions§
- is_
grad_ enabled - True unless inside
no_grad(per thread). - no_grad
- Run
fwithout recording ops for autograd (inference, optimizer updates, metric computation).