Returns a new tensor with the arcsine of the elements of input.

tch_asin(x)

Arguments

x

tensor object

Examples

x <- tensor(array(runif(8), dim = c(2,2,2))) tch_asin(x)
#> tensor #> (1,.,.) = #> 0.4995 0.1813 #> 0.7844 0.7480 #> #> (2,.,.) = #> 0.4469 0.2186 #> 1.2487 0.5223 #> [ Variable[CPUFloatType]{2,2,2} ]