Skip to contents

Asinh

Usage

torch_asinh(self)

Arguments

self

(Tensor) the input tensor.

asinh(input, *, out=None) -> Tensor

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

outi=sinh1(inputi)

Examples

if (torch_is_installed()) {

a <- torch_randn(c(4))
a
torch_asinh(a)
}
#> torch_tensor
#> -0.4778
#>  0.5417
#> -0.8514
#>  0.1649
#> [ CPUFloatType{4} ]