mindspore.Tensor.diff

View Source On Gitee
Tensor.diff(n=1, axis=- 1, prepend=None, append=None)[source]

For details, please refer to mindspore.ops.diff().