fix rollaxis docs

This commit is contained in:
wangrao124 2021-11-01 12:28:10 +08:00
parent f47be4d34c
commit 8500ec2161
2 changed files with 2 additions and 3 deletions

View File

@ -148,9 +148,8 @@ def rollaxis(x, axis, start=0):
start (int): Default: 0.
If :math:`start <= axis`, the axis is rolled back until it lies in this position (`start`).
If :math:`start > axis`: the axis is rolled until it lies before this position (`start`).
If :math:`start < 0`, the start will be normalized as a non-negative number (more details
can be seen in the source code.)
can be seen in the source code.)
.. table
+===========+=================+

View File

@ -3484,7 +3484,7 @@ def tan(x, dtype=None):
Tensor or scalar. This is a scalar if `x` is a scalar.
Raises:
TypeError: If the input is not a tensor or is :class:`tensor.dtype` is :class:`mindsproe.float64`.
TypeError: If the input is not a tensor or is :class:`tensor.dtype` is :class:`mindspore.float64`.
Supported Platforms:
``Ascend`` ``CPU``