modify format

This commit is contained in:
huodagu 2023-02-03 14:44:13 +08:00
parent b92c76ca78
commit 5ef01a07c2
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: