Copy
Automatic differentiation package - tensorplay.autograd
Automatic differentiation package - torch.autograd
Compute and return the sum of gradients of outputs with respect to the inputs. |
Functional higher level API
Compute the Jacobian of a given function. |
|
Compute the Hessian of a given scalar function. |
|
Compute the dot product between a vector |
|
Compute the dot product between the Jacobian of the given function at the point given by the inputs and a vector |
|
Compute the dot product between vector |
|
Compute the dot product between the scalar function's Hessian and a vector |
Function
Records operation history and defines formulas for differentiating ops. |
|
Compute the dot product between the Jacobian of the given function at the point given by the inputs and a vector |
Custom Function utilities
Decorator to make a custom autograd Function's backward run once, with gradients detached and grad-mode disabled inside. |
Numerical gradient checking
Check gradients computed via small finite differences against analytical gradients wrt tensors in |
|
Check gradients of gradients computed via small finite differences against analytical gradients wrt tensors in |
|
Error raised by |
|
Compute the numerical Jacobian for a given fn and its inputs. |
|
|
Debugging and anomaly detection
Context-manager that enables anomaly detection for the autograd engine. |
|
Context-manager that sets the anomaly detection for the autograd engine on or off. |
Help improve this page
Found an error, an unclear step, or a missing example?
