Cos
Cos
torch_cos(self)
self |
(Tensor) the input tensor. |
Returns a new tensor with the cosine of the elements of input
.
\mbox{out}_{i} = \cos(\mbox{input}_{i})
if (torch_is_installed()) { a = torch_randn(c(4)) a torch_cos(a) }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.