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).

