!46533 modify format

Merge pull request !46533 from 俞涵/code_docs_1110
This commit is contained in:
i-robot 2022-12-07 08:30:58 +00:00 committed by Gitee
commit d54b900805
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 7 additions and 7 deletions

View File

@ -3,4 +3,4 @@ mindspore.Tensor.divide
.. py:method:: mindspore.Tensor.divide(other, *, rounding_mode=None)
详情请参考 :func:`mindspore.ops.div`
:func:`mindspore.Tensor.div` 的别名

View File

@ -3,4 +3,4 @@ mindspore.Tensor.multiply
.. py:method:: mindspore.Tensor.multiply(value)
更多参考详见 :func:`mindspore.ops.multiply`
详情请参考 :func:`mindspore.ops.multiply`

View File

@ -3,4 +3,4 @@ mindspore.Tensor.reciprocal
.. py:method:: mindspore.Tensor.reciprocal(x)
详情请参考 :func:`mindspore.Tensor.reciprocal`。
详情请参考 :func:`mindspore.ops.reciprocal`。

View File

@ -1156,7 +1156,7 @@ class Tensor(Tensor_):
def bitwise_right_shift(self, other):
"""
For details, please refer to :func:`mindspore.ops.bitwise_left_shift`.
For details, please refer to :func:`mindspore.ops.bitwise_right_shift`.
"""
self._init_check()
_cast = tensor_operator_registry.get('cast')
@ -4002,7 +4002,7 @@ class Tensor(Tensor_):
def multiply(self, value):
r"""
Refer to :func:`mindspore.ops.multiply` for more details.
For details, please refer to :func:`mindspore.ops.multiply`.
"""
self._init_check()
return tensor_operator_registry.get('multiply')(self, value)
@ -4016,7 +4016,7 @@ class Tensor(Tensor_):
def divide(self, other, *, rounding_mode=None):
r"""
For details, please refer to :func:`mindspore.ops.div`.
Alias for :func:`mindspore.Tensor.div`.
"""
self._init_check()
return tensor_operator_registry.get('div')(self, other, rounding_mode)
@ -4640,7 +4640,7 @@ class Tensor(Tensor_):
def where(self, condition, y):
r"""
For details, please refer to :func:`mindspore.ops.where`
For details, please refer to :func:`mindspore.ops.where`.
"""
self._init_check()
return tensor_operator_registry.get('where')(condition, self, y)