forked from mindspore-Ecosystem/mindspore
20 lines
604 B
ReStructuredText
Executable File
20 lines
604 B
ReStructuredText
Executable File
mindspore.ops.coo_cosh
|
||
=======================
|
||
|
||
.. py:function:: mindspore.ops.coo_cosh(x: COOTensor)
|
||
|
||
逐元素计算 `x` 的双曲余弦值。
|
||
|
||
.. math::
|
||
out_i = coo_cosh(x_i)
|
||
|
||
参数:
|
||
- **x** (COOTensor) - coo_cosh的输入,任意维度的COOTensor,其数据类型为float16、float32、float64、complex64、complex128。
|
||
|
||
返回:
|
||
COOTensor,数据类型和shape与 `x` 相同。
|
||
|
||
异常:
|
||
- **TypeError** - `x` 的数据类型不是float16、float32、float64、complex64、complex128。
|
||
- **TypeError** - `x` 不是COOTensor。
|