R/tensor.R
tch_atan.Rd
Returns a new tensor with the arctangent of the elements of input.
tch_atan(x)
tensor object
x <- tensor(array(runif(8), dim = c(2,2,2))) tch_atan(x)#> tensor #> (1,.,.) = #> 0.5705 0.6560 #> 0.0957 0.7704 #> #> (2,.,.) = #> 0.5836 0.7807 #> 0.6534 0.3711 #> [ Variable[CPUFloatType]{2,2,2} ]