API symbolsgradient
Copy
tensorplay.gradient
- tensorplay.gradient(input, *, spacing=None, dim=None, edge_order=1)[source]
The native binding only takes
Tensor[]spacing /int[]dim; materialize python numbers into scalar tensors typed likeinput(a single scalar applies to every dimension).
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

