tensorflow:: ops:: Real

#include <math_ops.h>

Restituisce la parte reale di un numero complesso.

Riepilogo

Dato un tensore di numeri complessi input , 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 della forma \(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]

Argomentazioni:

  • ambito: un oggetto Scope

Resi:

  • 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)

Strutture

tensorflow::ops::Real::Attrs

Impostatori di 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 

operatore::tensorflow::Input

 operator::tensorflow::Input() const 

operatore::tensoreflusso::output

 operator::tensorflow::Output() const 

Funzioni statiche pubbliche

Tutto

Attrs Tout(
  DataType x
)