#include <math_ops.h>
Computes the complex absolute value of a tensor.
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}\).
Arguments:
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 | |
|---|---|
y | |
| Public functions | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Public static functions | |
|---|---|
Tout(DataType x) | |
| Structs | |
|---|---|
| tensorflow::ops::ComplexAbs::Attrs | Optional attribute setters for ComplexAbs. |
::tensorflow::Output y
ComplexAbs( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
ComplexAbs( const ::tensorflow::Scope & scope, ::tensorflow::Input x, const ComplexAbs::Attrs & attrs )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Attrs Tout( DataType x )
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/complex-abs.html