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
and
where .
For example:
x = [1., 1.] y = [1., -1.] print((tf.math.atan2(y,x) * (180 / np.pi)).numpy()) [ 45. -45.]
Args:
- scope: A Scope object
Returns:
Output
: The z tensor.
Constructors and Destructors |
|
---|---|
Atan2(const ::tensorflow::Scope & scope, ::tensorflow::Input y, ::tensorflow::Input x)
|
Public functions |
|
---|---|
node() const
|
::tensorflow::Node *
|
operator::tensorflow::Input() const
|
|
operator::tensorflow::Output() const
|
|
Public attributes
operation
Operation operation
z
::tensorflow::Output z
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