tensorflow::ops::Complex
#include <math_ops.h>İki gerçek sayıyı karmaşık sayıya dönüştürür.
Özet
Bir karmaşık sayının gerçek kısmını temsil eden bir tensör real ve bir karmaşık sayının sanal kısmını temsil eden bir tensör imag verildiğinde, bu işlem eleman bazında şu biçimde karmaşık sayılar döndürür: \(a + bj\)Burada a real kısmı, b ise imag kısmı temsil etmektedir.
Giriş tensörleri olan real ve imag tensörlerin aynı şekle sahip olması gerekir.
Ö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 Kapsam nesnesi
İadeler:
-
Output: Çıkış tensörü.
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 | |
Herkese açık statik fonksiyonlar | |
|---|---|
Tout (DataType x) | |
Yapılar | |
|---|---|
| tensorflow::ops::Complex::Attrs | Complex için isteğe bağlı öznitelik ayarlayıcıları. |
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
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 )