tensorflow::
ops::
ComplexAbs
#include <math_ops.h>
Computes the complex absolute value of a tensor.
Summary
Given a tensor
x
of complex numbers, this operation returns a tensor of type
float
or
double
that is the absolute value of each element in
x
.
All
elements in
x
must be complex numbers of the form \(a + bj\). The absolute value is computed as \( {a^2 + b^2}\).
Args:
- scope: A Scope object
Returns:
-
Output
: The y tensor.
Constructors and Destructors |
|
---|---|
ComplexAbs
(const ::
tensorflow::Scope
& scope, ::
tensorflow::Input
x)
|
|
ComplexAbs
(const ::
tensorflow::Scope
& scope, ::
tensorflow::Input
x, const
ComplexAbs::Attrs
& attrs)
|
Public attributes |
|
---|---|
operation
|
|
y
|
Public functions |
|
---|---|
node
() const
|
::tensorflow::Node *
|
operator::tensorflow::Input
() const
|
|
operator::tensorflow::Output
() const
|
|
Public static functions |
|
---|---|
Tout
(DataType x)
|
Structs |
|
---|---|
tensorflow::
|
Optional attribute setters for ComplexAbs . |
Public attributes
Public functions
ComplexAbs
ComplexAbs( const ::tensorflow::Scope & scope, ::tensorflow::Input x, const ComplexAbs::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const