ComplexAbs

public final class ComplexAbs

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 \\( \sqrt{a^2 + b^2}\\).

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

Output <U>
asOutput ()
Returns the symbolic handle of the tensor.
static <U extends TNumber > ComplexAbs <U>
create ( Scope scope, Operand <? extends TType > x, Class<U> Tout)
Factory method to create a class wrapping a new ComplexAbs operation.
static ComplexAbs < TFloat32 >
create ( Scope scope, Operand <? extends TType > x)
Factory method to create a class wrapping a new ComplexAbs operation using default output types.
Output <U>
y ()

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "ComplexAbs"

Public Methods

public Output <U> asOutput ()

Returns the symbolic handle of the tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.

public static ComplexAbs <U> create ( Scope scope, Operand <? extends TType > x, Class<U> Tout)

Factory method to create a class wrapping a new ComplexAbs operation.

Parameters
scope current scope
Returns
  • a new instance of ComplexAbs

public static ComplexAbs < TFloat32 > create ( Scope scope, Operand <? extends TType > x)

Factory method to create a class wrapping a new ComplexAbs operation using default output types.

Parameters
scope current scope
Returns
  • a new instance of ComplexAbs

public Output <U> y ()