TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-15

tensorplay.functional.asinh

tensorplay.functional.asinh(input: Tensor, *, out: Tensor | None) → Tensor[source]

Returns a new tensor with the inverse hyperbolic sine of the elements of input.

outi=sinh⁡−1(inputi)\text{out}_{i} = \sinh^{-1}(\text{input}_{i})
Parameters:

input (Tensor) – the input tensor.

Keyword Arguments:

out (Tensor, optional) – the output tensor.

Example:

>>> a = tensorplay.randn(4)
>>> a
tensor([ 0.1606, -1.4267, -1.0899, -1.0250 ])
>>> tensorplay.asinh(a)
tensor([ 0.1599, -1.1534, -0.9435, -0.8990 ])

On this page

Ask DeepWiki