tensoreflusso:: ops:: Vero
#include <math_ops.h>Restituisce la parte reale di un numero complesso.
Riepilogo
 Dato un tensore input di numeri complessi, questa operazione restituisce un tensore di tipo float che è la parte reale di ciascun elemento in input . Tutti gli elementi in input devono essere numeri complessi del modulo \(a + bj\), dove a è la parte reale restituita da questa operazione e b è 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
Resi:
-  Output: il tensore di uscita.
| 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 pubbliche statiche | |
|---|---|
| Tout (DataType x) | |
| Strutture | |
|---|---|
| tensorflow:: ops:: Reale:: Attrs | Setter di attributi facoltativi 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
operatore::tensorflow::Input
operator::tensorflow::Input() const
operatore::tensorflow::Output
operator::tensorflow::Output() const
Funzioni pubbliche statiche
Tutto
Attrs Tout( DataType x )