tensorflow::ops::Complex

#include <math_ops.h>

Mengubah dua bilangan riil menjadi bilangan kompleks.

Ringkasan

Diberikan tensor real yang mewakili bagian real dari bilangan kompleks, dan tensor imag yang mewakili bagian imajiner dari bilangan kompleks, operasi ini mengembalikan bilangan kompleks elemen demi elemen dalam bentuk \(a + bj\), di mana a mewakili bagian real dan b mewakili bagian imag .

Tensor input real dan imag harus memiliki bentuk yang sama.

Misalnya:

# 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]]

Argumen:

Mengembalikan:

Konstruktor dan Destruktor

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)

Atribut publik

operation
out

Fungsi publik

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

Fungsi statis publik

Tout (DataType x)

Struktur

tensorflow::ops::Complex::Attrs

Pengatur atribut opsional untuk Kompleks .

Atribut publik

operasi

Operation operation

keluar

::tensorflow::Output out

Fungsi publik

Kompleks

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

Kompleks

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

simpul

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Fungsi statis publik

Mengintip

Attrs Tout(
  DataType x
)