tensorflow :: ops :: Vero
#include <math_ops.h>
Restituisce la parte reale di un numero complesso.
Sommario
Dato un input
tensore di numeri complessi, questa operazione restituisce un tensore di tipo float
che è la parte reale di ogni elemento in input
. Tutti gli elementi in input
devono essere numeri complessi nella forma \(a + bj\), dove a è la parte reale restituita da questa operazione eb è la parte immaginaria.
Per esempio:
# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j] tf.real(input) ==> [-2.25, 3.25]
Argomenti:
- scope: un oggetto Scope
Ritorna:
-
Output
: il tensore di output.
Costruttori e distruttori | |
---|---|
Real (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
Real (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const Real::Attrs & attrs) |
Attributi pubblici | |
---|---|
operation | |
output |
Funzioni pubbliche | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Funzioni statiche pubbliche | |
---|---|
Tout (DataType x) |
Structs | |
---|---|
tensorflow :: ops :: Real :: Attrs | Setter attributi opzionali per Real . |
Attributi pubblici
operazione
Operation operation
produzione
::tensorflow::Output output
Funzioni pubbliche
Vero
Real( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
Vero
Real( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Real::Attrs & attrs )
nodo
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Funzioni statiche pubbliche
Tout
Attrs Tout( DataType x )