tensorflow:: ops:: Atan2

#include <math_ops.h>

Computes arctangent of y/x element-wise, respecting signs of the arguments.

Summary

This is the angle \( [-, ] \) such that \[ x = r () \] and \[ y = r () \] where \(r = {x^2 + y^2} \).

For example:

x = [1., 1.] y = [1., -1.] print((tf.math.atan2(y,x) * (180 / np.pi)).numpy()) [ 45. -45.]

Args:

Returns:

Constructors and Destructors

Atan2 (const :: tensorflow::Scope & scope, :: tensorflow::Input y, :: tensorflow::Input x)

Public attributes

operation
z

Public functions

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Public attributes

operation

Operation operation

Public functions

Atan2

 Atan2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input y,
  ::tensorflow::Input x
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const