przepływ tensorowy:: ops:: Kąt

#include <math_ops.h>

Zwraca argument liczby zespolonej.

Streszczenie

Biorąc pod uwagę tensor input liczb zespolonych, ta operacja zwraca tensor typu float , który jest argumentem każdego elementu w input . Wszystkie elementy input muszą być liczbami zespolonymi w postaci \(a + bj\), gdzie a jest częścią rzeczywistą, a b jest częścią urojoną.

Argument zwrócony przez tę operację ma postać \(atan2(b, a)\).

Na przykład:

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

(numpy) Odpowiednik np.angle.

Argumenty:

Zwroty:

Konstruktory i destruktory

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

Atrybuty publiczne

operation
output

Funkcje publiczne

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Publiczne funkcje statyczne

Tout (DataType x)

Struktury

tensorflow:: ops:: Kąt:: Atrybuty

Opcjonalne narzędzia ustawiające atrybuty dla Angle .

Atrybuty publiczne

operacja

Operation operation

wyjście

::tensorflow::Output output

Funkcje publiczne

Kąt

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

Kąt

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

węzeł

::tensorflow::Node * node() const 

operator::tensorflow::Wejście

 operator::tensorflow::Input() const 

operator::tensorflow::Wyjście

 operator::tensorflow::Output() const 

Publiczne funkcje statyczne

Naganiacz

Attrs Tout(
  DataType x
)