atan2

dragon.vm.tensorflow.math.atan2(
  y,
  x,
  name=None
)[source]

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

\[\text{out} = \text{arctan}(\frac{\text{input1}}{\text{input2}}) \]
y = tf.constant(1.)
x = tf.constant(2.)
print(tf.math.atan2(y, x))  # 0.46364761
Parameters:
Returns:

dragon.Tensor – The output tensor.