mindspore/docs/api/api_python/ops/mindspore.ops.Atan.rst

23 lines
574 B
ReStructuredText
Raw 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.ops.Atan
==================
.. py:class:: mindspore.ops.Atan
逐元素计算输入Tensor的反正切值。
.. math::
out_i = tan^{-1}(x_i)
**输入:**
- **x** (Tensor): 输入Tensorshape: :math:`(N,*)` ,其中 :math:`*` 表示任何数量的附加维度。其轶应小于8。数据类型可为以下类型float16或float32。
**输出:**
Tensorshape和dtype与输入 `x` 相同。
**异常:**
- **TypeError** - `x` 不是Tensor。
- **TypeError** - `x` 的数据类型非float16或float32。