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:
- y (dragon.Tensor) – The input1 tensor.
- x (dragon.Tensor) – The input2 tensor.
- name (str, optional) – The operation name.
 
 - Returns:
- dragon.Tensor – The output tensor. 
 
