MindSpore
mindspore
mindspore.nn
mindspore.ops
mindspore.ops.primitive
mindspore.mint
mindspore.amp
mindspore.train
mindspore.communication
mindspore.communication.comm_func
mindspore.common.initializer
mindspore.hal
mindspore.dataset
mindspore.dataset.transforms
mindspore.mindrecord
mindspore.nn.probability
mindspore.rewrite
mindspore.multiprocessing
mindspore.boost
mindspore.numpy
mindspore.scipy
mindspore.utils
mindspore.experimental
环境变量
MindSpore
»
API 文档
»
mindspore
»
mindspore.Tensor
»
mindspore.Tensor.diff
查看页面源码
mindspore.Tensor.diff
mindspore.Tensor.
diff
(
n
=
1
,
axis
=
-
1
,
prepend
=
None
,
append
=
None
)
[源代码]
详情请参考
mindspore.ops.diff()
。