Cos
torch_cos(self)
self
Returns a new tensor with the cosine of the elements of input.
input
if (torch_is_installed()) { a = torch_randn(c(4)) a torch_cos(a) }
Useful links