ComplexAbs
tensorflow C++ API
Computes the complex absolute value of a tensor.
Summary
Given a tensorxof complex numbers, this operation returns a tensor of typefloatordoublethat is the absolute value of each element inx.All elements inxmust be complex numbers of the form (a + bj). The absolute value is computed as sqrt( {a^2 + b^2}).
Arguments:
- scope: A Scope object
Returns:
Output: The y tensor.
Constructor
- ComplexAbs(const ::tensorflow::Scope & scope, ::tensorflow::Input x, const ComplexAbs::Attrs attrs).
Public attributes
- tensorflow::Output y.
ComplexAbs block
Source link : https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_math.cpp

Argument:
- Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.).
- Input x:connect Input node.
- Complex::Attrs attrs:Input DatType in value. ex) Tout_=DT_FLOAT, Tout_=_DT_DOUBLE
Return:
- Output y : Output object of ComplexAbs class object.
Result:
- std::vector(Tensor) product_result : Returned object of executed result by calling session.
Using Method
