Help protect the Great Barrier Reef with TensorFlow on Kaggle

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}$$.

For example:

x = tf.complex(3.0, 4.0) print((tf.raw_ops.ComplexAbs(x=x, Tout=tf.dtypes.float32, name=None)).numpy()) 5.0

Args:

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
Operation
y
::tensorflow::Output

Public functions

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

Public static functions

Tout(DataType x)
Attrs

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
)
[{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"Missing the information I need" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Too complicated / too many steps" },{ "type": "thumb-down", "id": "outOfDate", "label":"Out of date" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Samples / code issue" },{ "type": "thumb-down", "id": "otherDown", "label":"Other" }]
[{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Easy to understand" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"Solved my problem" },{ "type": "thumb-up", "id": "otherUp", "label":"Other" }]