tensoreflusso:: ops:: Complesso
#include <math_ops.h>Converte due numeri reali in un numero complesso.
Riepilogo
Dato un tensore real che rappresenta la parte reale di un numero complesso e un tensore imag che rappresenta la parte immaginaria di un numero complesso, questa operazione restituisce numeri complessi elementally della forma \(a + bj\), dove a rappresenta la parte real e b rappresenta la parte imag .
I tensori di input real e imag devono avere la stessa forma.
Per esempio:
# 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]]
Argomenti:
- scope: un oggetto Scope
Resi:
-
Output: il tensore out.
Costruttori e distruttori | |
|---|---|
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) |
Attributi pubblici | |
|---|---|
operation | |
out | |
Funzioni pubbliche | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Funzioni pubbliche statiche | |
|---|---|
Tout (DataType x) | |
Strutture | |
|---|---|
| tensorflow:: ops:: Complex:: Attrs | Setter di attributi facoltativi per Complex . |
Attributi pubblici
operazione
Operation operation
fuori
::tensorflow::Output out
Funzioni pubbliche
Complesso
Complex( const ::tensorflow::Scope & scope, ::tensorflow::Input real, ::tensorflow::Input imag )
Complesso
Complex( const ::tensorflow::Scope & scope, ::tensorflow::Input real, ::tensorflow::Input imag, const Complex::Attrs & attrs )
nodo
::tensorflow::Node * node() const
operatore::tensorflow::Input
operator::tensorflow::Input() const
operatore::tensorflow::Output
operator::tensorflow::Output() const
Funzioni pubbliche statiche
Tutto
Attrs Tout( DataType x )