# tensorplay.gradient

Source: https://www.tensorplay.cn/docs/generated/tensorplay.gradient.html

```python
tensorplay.gradient(input, *, spacing=None, dim=None, edge_order=1)
```

The native binding only takes Tensor[] spacing / int[] dim;
materialize python numbers into scalar tensors typed like input (a
single scalar applies to every dimension).
