Conj


tensorflow C++ API

tensorflow::ops::Conj

Returns the complex conjugate of a complex number.


Summary

Given a tensorinputof complex numbers, this operation returns a tensor of complex numbers that are the complex conjugate of each element ininput. The complex numbers ininputmust be of the form (a + bj), whereais the real part andbis the imaginary part.

The complex conjugate returned by this operation is of the form (a - bj).

For example:

``` tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j]

tf.conj(input) ==> [-2.25 - 4.75j, 3.25 - 5.75j] ```

Arguments:

Returns:

Constructor

  • Conj(const ::tensorflow::Scope & scope, ::tensorflow::Input input).

Public attributes

  • tensorflow::Output output.

Conj 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 input:connect Input node.

Return:

  • Output output : Output object of Conj class object.

Result:

  • std::vector(Tensor) product_result : Returned object of executed result by calling session.

Using Method

results matching ""

    No results matching ""