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

22 lines
372 B
ReStructuredText
Raw Normal View History

2022-05-28 14:44:02 +08:00
mindspore.ops.tan
===================
.. py:function:: mindspore.ops.tan(x)
计算输入元素的正切值。
.. math::
out_i = tan(x_i)
**参数:**
2022-06-17 17:29:28 +08:00
- **x** (Tensor) - Tan的输入任意维度的Tensor。
2022-05-28 14:44:02 +08:00
**返回:**
Tensor数据类型和shape与 `x` 相同。
**异常:**
- **TypeError** - `x` 不是Tensor。