forked from mindspore-Ecosystem/mindspore
23 lines
685 B
ReStructuredText
Executable File
23 lines
685 B
ReStructuredText
Executable File
mindspore.ops.csr_atanh
|
||
========================
|
||
|
||
.. py:function:: mindspore.ops.csr_atanh(x: CSRTensor)
|
||
|
||
逐元素计算输入CSRTensor的反双曲正切值。
|
||
|
||
.. math::
|
||
out_i = \tanh^{-1}(x_{i})
|
||
|
||
.. warning::
|
||
实验性算子,将来有可能更改或删除。
|
||
|
||
参数:
|
||
- **x** (CSRTensor) - CSRTensor的shape为 :math:`(N,*)` ,其中 :math:`*` 表示任意数量的附加维度。数据类型支持:float16、float32。
|
||
|
||
返回:
|
||
CSRTensor的数据类型与输入相同。
|
||
|
||
异常:
|
||
- **TypeError** - 如果 `x` 不是CSRTensor。
|
||
- **TypeError** - 如果 `x` 的数据类型不是float16或float32。
|