!46637 modify format

Merge pull request !46637 from 俞涵/code_docs_1110
This commit is contained in:
i-robot 2022-12-09 12:59:42 +00:00 committed by Gitee
commit d4b7c7a44c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
7 changed files with 13 additions and 14 deletions

View File

@ -10,7 +10,7 @@ mindspore.ops.coo_concat
参数:
- **sp_input** (Union[list(COOTensor), tuple(COOTensor)]) - 输入的需要concat合并的稀疏张量。
- **concat_dim** (标量) - 指定需要合并的轴序号, 它的取值必须是在[-rank, rank)之内,
- **concat_dim** (scalar) - 指定需要合并的轴序号, 它的取值必须是在[-rank, rank)之内,
其中rank为sp_input中COOTensor的shape的维度值。缺省值为0。
返回:
@ -19,5 +19,4 @@ mindspore.ops.coo_concat
异常:
- **ValueError** - 如果只有一个COOTensor输入报错。
- **ValueError** - 如果输入的COOTensor的shape纬度大于3。COOTensor的构造会报错
目前COOTensor的shape维度只能为2。
- **ValueError** - 如果输入的COOTensor的shape纬度大于3。COOTensor的构造会报错目前COOTensor的shape维度只能为2。

View File

@ -33,7 +33,7 @@ mindspore.ops.max_unpool3d
取值范围需满足:
:math:`[(N, C, D_{out} - stride[0], H_{out} - stride[1], W_{out} - stride[2]), (N, C, D_{out} + stride[0], H_{out} + stride[1], W_{out} + stride[2])]`
输出
返回
shape为 :math:`(N, C, D_{out}, H_{out}, W_{out})`:math:`(C, D_{out}, H_{out}, W_{out})` 的Tensor
数据类型与输入 `x` 相同。

View File

@ -3687,7 +3687,7 @@ def is_complex(x):
Return True if the data type of the tensor is complex, otherwise return False.
Args:
x (Tensor) - The input tensor.
x (Tensor): The input tensor.
Returns:
Bool, return whether the data type of the tensor is complex.