!45492 modify Tensor doc for median op

Merge pull request !45492 from liuchao/code_docs_median
This commit is contained in:
i-robot 2022-11-14 01:57:18 +00:00 committed by Gitee
commit 7f2c76097b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 0 additions and 4 deletions

View File

@ -3,6 +3,4 @@ mindspore.Tensor.median
.. py:method:: mindspore.Tensor.median(axis=-1, keepdims=False)
输出Tensor指定维度上的中值与索引。
详情请参考 :func:`mindspore.ops.median`

View File

@ -3670,8 +3670,6 @@ class Tensor(Tensor_):
def median(self, axis=-1, keepdims=False):
r"""
Computes the median and indices of input tensor.
For details, please refer to :func:`mindspore.ops.median`.
"""
self._init_check()