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

19 lines
407 B
ReStructuredText
Executable File
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.csr_tan
======================
.. py:function:: mindspore.ops.csr_tan(x: CSRTensor)
计算输入元素的正切值。
.. math::
out_i = csr_tan(x_i)
参数:
- **x** (CSRTensor) - Tan的输入任意维度的CSRTensor。
返回:
CSRTensor数据类型和shape与 `x` 相同。
异常:
- **TypeError** - `x` 不是CSRTensor。