Cosh
cosh(input, out=NULL) -> Tensor
Returns a new tensor with the hyperbolic cosine of the elements of
input.
Examples
if (torch_is_installed()) {
a = torch_randn(c(4))
a
torch_cosh(a)
}
#> torch_tensor
#> 1.8288
#> 1.2987
#> 1.1616
#> 1.1064
#> [ CPUFloatType{4} ]