
Last chance! 50% off unlimited learning
Sale ends in
Atan2
torch_atan2(self, other)
(Tensor) the first input tensor
(Tensor) the second input tensor
Element-wise arctangent of
The shapes of input
and other
must be
broadcastable .
# NOT RUN {
if (torch_is_installed()) {
a = torch_randn(c(4))
a
torch_atan2(a, torch_randn(c(4)))
}
# }
Run the code above in your browser using DataLab