API symbolsautograd
Copy
tensorplay.autograd.gradcheck.GradcheckError
- exception tensorplay.autograd.gradcheck.GradcheckError[source]
Error raised by
gradcheck()andgradgradcheck().
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?
tensorplay.autograd.gradcheck.gradcheck
Check gradients computed via small finite differences against analytical gradients wrt tensors in inputs that are of floating point or complex type and with requires_grad=True .
tensorplay.autograd.gradcheck.gradgradcheck
Check gradients of gradients computed via small finite differences against analytical gradients wrt tensors in inputs and grad_outputs that are of floating point or complex type and with requires_grad=True .
