acosh

paddle. acosh ( x: Tensor, name: str | None = None, *, out: Tensor | None = None ) Tensor [source]

Acosh Activation Operator.

\[out = acosh(x)\]
Args:
x (Tensor): Input of Acosh operator, an N-D Tensor, with data type float32, float64, float16, bfloat16,

uint8, int8, int16, int32, int64, complex64 or complex128.

System Message: WARNING/2 (/usr/local/lib/python3.10/site-packages/paddle/base/dygraph/generated_tensor_methods_patch.py:docstring of paddle.base.dygraph.generated_tensor_methods_patch._acosh, line 4)

Definition list ends without a blank line; unexpected unindent.

name (str|None, optional): Name for the operation (optional, default is None). For more information, please refer to api_guide_Name.

Returns:
Tensor. Output of Acosh operator, a Tensor with shape same as input

(integer types are autocasted into float32).

Examples:
>>> import paddle

>>> x = paddle.to_tensor([1., 3., 4., 5.])
>>> out = paddle.acosh(x)
>>> print(out)
Tensor(shape=[4], dtype=float32, place=Place(cpu), stop_gradient=True,
[0.        , 1.76274717, 2.06343699, 2.29243159])