atan2

dragon.vm.torch.atan2(
  input,
  other,
  out=None
)[source]

Compute the element-wise arc-tangent of two arguments.

\[\text{out} = \text{arctan}(\frac{\text{input}}{\text{other}}) \]

Examples:

y = torch.tensor(1.)
x = torch.tensor(2.)
print(torch.atan2(y, x))  # 0.46364761
Parameters:
Returns:

dragon.vm.torch.Tensor – The output tensor.