tensorflow::ops::Angle

#include <math_ops.h>

Argümanı karmaşık bir sayı olarak döndürür.

Özet

Verilen bir karmaşık sayılar tensör input , bu işlem, input her elemanın argümanı olan float türünde bir tensör döndürür. input tüm elemanlar, biçiminde karmaşık sayılar olmalıdır. \(a + bj\)Burada a gerçek kısım, b ise sanal kısımdır.

Bu işlem tarafından döndürülen argüman şu biçimdedir: \(atan2(b, a)\).

Örneğin:

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

(numpy) np.angle ile eşdeğerdir.

Argümanlar:

İadeler:

  • Output : Çıktı tensörü.

Yapıcılar ve Yıkıcılar

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

Genel özellikler

operation
output

Kamusal işlevler

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

Herkese açık statik fonksiyonlar

Tout (DataType x)

Yapılar

tensorflow::ops::Angle::Attrs

Angle için isteğe bağlı özellik ayarlayıcıları.

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamusal işlevler

Açı

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

Açı

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

düğüm

::tensorflow::Node * node() const 

operatör::tensorflow::Giriş

 operator::tensorflow::Input() const 

operatör::tensorflow::Çıktı

 operator::tensorflow::Output() const 

Herkese açık statik fonksiyonlar

Tout

Attrs Tout(
  DataType x
)