forked from mindspore-Ecosystem/mindspore
19 lines
407 B
ReStructuredText
19 lines
407 B
ReStructuredText
|
|
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。
|