¿Tengo una pregunta? Conéctese con la comunidad en el Foro de TensorFlow

# tensorflow:: ops:: Complex

 #include <math_ops.h> 

Converts two real numbers to a complex number.

## Summary

Given a tensor  real  representing the real part of a complex number, and a tensor  imag  representing the imaginary part of a complex number, this operation returns complex numbers elementwise of the form $$a + bj$$, where a represents the  real  part and b represents the  imag  part.

The input tensors  real  and  imag  must have the same shape.

For example:

# tensor 'real' is [2.25, 3.25]
# tensor imag is [4.75, 5.75]
tf.complex(real, imag) ==> [[2.25 + 4.75j], [3.25 + 5.75j]]


Args:

Returns:

•  Output  : The out tensor.

### Constructors and Destructors

 Complex (const :: tensorflow::Scope & scope, :: tensorflow::Input real, :: tensorflow::Input imag) 
 Complex (const :: tensorflow::Scope & scope, :: tensorflow::Input real, :: tensorflow::Input imag, const Complex::Attrs & attrs) 

### Public attributes

 operation 
 Operation 
 out 
 :: 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:: Complex:: Attrs

Optional attribute setters for Complex .

## Public attributes

### operation

Operation operation

### out

::tensorflow::Output out

## Public functions

### Complex

 Complex(
const ::tensorflow::Scope & scope,
::tensorflow::Input real,
::tensorflow::Input imag
)

### Complex

 Complex(
const ::tensorflow::Scope & scope,
::tensorflow::Input real,
::tensorflow::Input imag,
const Complex::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":"Falta la información que necesito" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Muy complicado o demasiados pasos" },{ "type": "thumb-down", "id": "outOfDate", "label":"Desactualizado" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Samples / code issue" },{ "type": "thumb-down", "id": "otherDown", "label":"Otro" }]
[{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Fácil de comprender" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"Resolvió mi problema" },{ "type": "thumb-up", "id": "otherUp", "label":"Otro" }]