View source: R/gen-namespace.R
torch_angle | R Documentation |
Angle
torch_angle(self)
self |
(Tensor) the input tensor. |
Computes the element-wise angle (in radians) of the given input
tensor.
\mbox{out}_{i} = angle(\mbox{input}_{i})
if (torch_is_installed()) {
## Not run:
torch_angle(torch_tensor(c(-1 + 1i, -2 + 2i, 3 - 3i)))*180/3.14159
## End(Not run)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.