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

tch_sinh(x)

Arguments

x

tensor object

Examples

x <- tensor(array(runif(8), dim = c(2,2,2))) tch_asin(x)
#> tensor #> (1,.,.) = #> 0.7465 0.4647 #> 0.9033 0.1770 #> #> (2,.,.) = #> 0.0894 0.1619 #> 0.2290 0.1995 #> [ Variable[CPUFloatType]{2,2,2} ]