mindspore/docs/api/api_python/numpy/mindspore.numpy.arccos.rst

19 lines
656 B
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.numpy.arccos
=================================
.. py:function:: mindspore.numpy.arccos(input, dtype=None)
逐元素计算反余弦函数。
.. note::
不支持Numpy的 ``out````where````casting````order````subok````signature````extobj`` 参数。
参数:
- **input** (Tensor) - 输入Tensor表示单位圆上的x坐标。对于实数输入定义域为 :math:`[-1, 1]`
- **dtype** (mindspore.dtype, 可选) - 默认值: ``None`` 。覆盖输出Tensor的dtype。
返回:
Tensor。
异常:
- **TypeError** - 如果输入不是Tensor。