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