!48387 modify format

Merge pull request !48387 from 俞涵/code_docs_1110
This commit is contained in:
i-robot 2023-02-03 07:04:31 +00:00 committed by Gitee
commit 56ad341267
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 4 additions and 4 deletions

View File

@ -3,4 +3,4 @@ mindspore.Tensor.det
.. py:method:: mindspore.Tensor.det()
:func:`mindspore.Tensor.matrix_determinant` 的别名
详情请参考 :func:`mindspore.ops.det`

View File

@ -3,4 +3,4 @@ mindspore.Tensor.swapaxes
.. py:method:: mindspore.Tensor.swapaxes(axis1, axis2)
详情请参考 :func:`mindspore.ops.swapaxes`
详情请参考 :func:`mindspore.ops.swapaxes`

View File

@ -2435,7 +2435,7 @@ class Tensor(Tensor_):
def det(self):
r"""
Refer to :func:`mindspore.ops.det`.
For details, please refer to :func:`mindspore.ops.det`.
"""
self._init_check()
return tensor_operator_registry.get('det')(self)

View File

@ -643,7 +643,7 @@ class ResizeLinear1D(Primitive):
This is an experimental feature and is subjected to change.
Args:
coordinate_transformation_mode (string): Default is 'align_corners'. Describes how to transform the coordinate
coordinate_transformation_mode (str): Default is 'align_corners'. Describes how to transform the coordinate
in the resized tensor to the coordinate in the original tensor. Other optional: 'half_pixel', 'asymmetric'.
Inputs: