!45492 modify Tensor doc for median op
Merge pull request !45492 from liuchao/code_docs_median
This commit is contained in:
commit
7f2c76097b
|
@ -3,6 +3,4 @@ mindspore.Tensor.median
|
|||
|
||||
.. py:method:: mindspore.Tensor.median(axis=-1, keepdims=False)
|
||||
|
||||
输出Tensor指定维度上的中值与索引。
|
||||
|
||||
详情请参考 :func:`mindspore.ops.median`。
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue