
Last chance! 50% off unlimited learning
Sale ends in
Angle
torch_angle(self)
(Tensor) the input tensor.
Computes the element-wise angle (in radians) of the given input
tensor.
if (torch_is_installed()) {
if (FALSE) {
torch_angle(torch_tensor(c(-1 + 1i, -2 + 2i, 3 - 3i)))*180/3.14159
}
}
Run the code above in your browser using DataLab