tensoreflusso:: ops:: Angolo

#include <math_ops.h>

Restituisce l'argomento di un numero complesso.

Riepilogo

Dato un tensore input di numeri complessi, questa operazione restituisce un tensore di tipo float che è l'argomento di ciascun elemento in input . Tutti gli elementi in input devono essere numeri complessi nel formato \(a + bj\), dove a è la parte reale e b è la parte immaginaria.

L'argomento restituito da questa operazione è nel formato \(atan2(b, a)\).

Per esempio:

# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j]
tf.angle(input) ==> [2.0132, 1.056]

(numpy) Equivalente a np.angle.

Argomenti:

Ritorna:

  • Output : il tensore di uscita.

Costruttori e distruttori

Angle (const :: tensorflow::Scope & scope, :: tensorflow::Input input)
Angle (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const Angle::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:: Angolo:: Attrs

Setter di attributi facoltativi per Angle .

Attributi pubblici

operazione

Operation operation

produzione

::tensorflow::Output output

Funzioni pubbliche

Angolo

 Angle(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

Angolo

 Angle(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const Angle::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
)