!39422 add comment for tensor.svd

Merge pull request !39422 from huanghui/code_docs-add-comment-for-tensor-svd
This commit is contained in:
i-robot 2022-08-04 07:03:41 +00:00 committed by Gitee
commit dc2e70c860
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,8 @@ mindspore.Tensor.svd
.. py:method:: mindspore.Tensor.svd(full_matrices=False, compute_uv=True) .. py:method:: mindspore.Tensor.svd(full_matrices=False, compute_uv=True)
计算单个或多个矩阵的奇异值分解。
更多参考详见 :func:`mindspore.ops.svd` 更多参考详见 :func:`mindspore.ops.svd`
参数: 参数:

View File

@ -4083,6 +4083,8 @@ class Tensor(Tensor_):
def svd(self, full_matrices=False, compute_uv=True): def svd(self, full_matrices=False, compute_uv=True):
""" """
Computes the singular value decompositions of one or more matrices.
Refer to :func:`mindspore.ops.svd` for more detail. Refer to :func:`mindspore.ops.svd` for more detail.
Args: Args: