!31565 modify format

Merge pull request !31565 from 俞涵/code_docs_delcolon
This commit is contained in:
i-robot 2022-03-21 01:32:15 +00:00 committed by Gitee
commit 1178cd9838
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 2 deletions

View File

@ -225,7 +225,7 @@ mindspore.Tensor
维度与输入张量的相同的Tensor。输出张量的维度必须遵守广播规则。广播规则指输出张量的维度需要扩展为输入张量的维度如果目标张量的维度大于输入张量的维度则不满足广播规则。
.. py:method:: expand_dims(axis):
.. py:method:: expand_dims(axis)
沿指定轴扩展Tensor维度。
@ -424,7 +424,7 @@ mindspore.Tensor
- **TypeError** - 参数具有前面未指定的类型。
.. py:method:: narrow(axis, start, length):
.. py:method:: narrow(axis, start, length)
沿指定轴指定起始位置获取指定长度的Tensor。