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}\).

Arguments:

Returns:

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::ops::ComplexAbs::Attrs

Optional attribute setters for ComplexAbs.

Public attributes

operation

Operation operation

y

::tensorflow::Output y

Public functions

ComplexAbs

 ComplexAbs(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

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 

Public static functions

Tout

Attrs Tout(
  DataType x
)

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/complex-abs