modify Tensor doc for median op

This commit is contained in:
Corleone 2022-11-11 21:26:25 +08:00
parent 04071265a5
commit 235c602d3a
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

@ -3674,8 +3674,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()