Google I/O'yu ayarladığınız için teşekkür ederiz. İsteğe bağlı olarak tüm oturumları görüntüleyin İsteğe bağlı olarak izleyin

tensorflow :: ops :: Açı

#include <math_ops.h>

Karmaşık bir sayının bağımsız değişkenini verir.

Özet

Karmaşık sayıların bir tensör input verildiğinde, bu işlem, input her öğenin bağımsız değişkeni olan float türünde bir tensör döndürür. Tüm elemanlar input gerçek bir parçası ve b sanal parça olan form \(a + bj\), kompleks sayı olmalıdır.

Bu işlem tarafından döndürülen bağımsız değişken \(atan2(b, a)\) biçimindedir.

Ö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:

  • kapsam: Bir Scope nesnesi

İadeler:

  • Output : Çıkış 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

Genel statik işlevler

Tout (DataType x)

Yapılar

tensorflow :: ops :: Angle :: Attrs

Açı için isteğe bağlı öznitelik belirleyiciler.

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 

operator :: tensorflow :: Girdi

 operator::tensorflow::Input() const 

operator :: tensorflow :: Çıktı

 operator::tensorflow::Output() const 

Genel statik işlevler

Tout

Attrs Tout(
  DataType x
)