tensorflow :: ops :: Karmaşık

#include <math_ops.h>

İki gerçek sayıyı karmaşık sayıya dönüştürür.

Özet

Bir tensör verilen real bir karmaşık sayının gerçek parçasını temsil eden ve bir tensör imag karmaşık sayının sanal parçasını temsil eden, bu işlem, döner karmaşık sayılar eşittir bir biçimde \(a + bj\), elementwise real parçasını temsil ettiği ve B imag parçası.

Girdi tensörleri real ve imag aynı şekle sahip olmalıdır.

Örneğin:

# tensor 'real' is [2.25, 3.25]
# tensor `imag` is [4.75, 5.75]
tf.complex(real, imag) ==> [[2.25 + 4.75j], [3.25 + 5.75j]]

Argümanlar:

  • kapsam: Bir Scope nesnesi

İadeler:

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

Complex (const :: tensorflow::Scope & scope, :: tensorflow::Input real, :: tensorflow::Input imag)
Complex (const :: tensorflow::Scope & scope, :: tensorflow::Input real, :: tensorflow::Input imag, const Complex::Attrs & attrs)

Genel özellikler

operation
out

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 :: Complex :: Attrs

Karmaşık için isteğe bağlı öznitelik belirleyiciler.

Genel özellikler

operasyon

Operation operation

dışarı

::tensorflow::Output out

Kamusal işlevler

Karmaşık

 Complex(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input real,
  ::tensorflow::Input imag
)

Karmaşık

 Complex(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input real,
  ::tensorflow::Input imag,
  const Complex::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
)