fix docs issues
This commit is contained in:
parent
64fc897b2c
commit
db8cf7849f
|
@ -20,7 +20,7 @@ mindspore.ops.div
|
|||
|
||||
- **None**: 默认行为。相当于Python中的 `true division` 或NumPy中的 `true_divide` 。
|
||||
- **"floor"**: 将除法的结果向下舍入。相当于Python中的 `floor division` 或NumPy中的 `floor_divide` 。
|
||||
- **"trunc"**: 将除法的结果舍入到零。相当于C型整数除法。
|
||||
- **"trunc"**: 将除法的结果舍入到零。相当于C语言风格的整数除法。
|
||||
|
||||
返回:
|
||||
Tensor,输出的shape与广播后的shape相同,数据类型取两个输入中精度较高或数字较高的。
|
||||
|
|
|
@ -5816,12 +5816,12 @@ def diff(x, n=1, axis=-1, prepend=None, append=None):
|
|||
prepend (Tensor, optional): Values to prepend or append to a along
|
||||
`axis` prior to performing the difference. Scalar values are expanded to
|
||||
arrays with length 1 in the direction of `axis` and the shape of the input
|
||||
array in along all other axes. Otherwise the dimension and shape must
|
||||
array in along all other axis. Otherwise the dimension and shape must
|
||||
match `x` except along `axis`. Default: None.
|
||||
append (Tensor, optional): Values to prepend or append to a along
|
||||
`axis` prior to performing the difference. Scalar values are expanded to
|
||||
arrays with length 1 in the direction of `axis` and the shape of the input
|
||||
array in along all other axes. Otherwise the dimension and shape must
|
||||
array in along all other axis. Otherwise the dimension and shape must
|
||||
match `x` except along `axis`. Default: None.
|
||||
|
||||
Returns:
|
||||
|
|
Loading…
Reference in New Issue