tensorflow :: ops :: Bayangkan

#include <math_ops.h>

Menampilkan bagian imajiner dari bilangan kompleks.

Ringkasan

Diberikan input tensor bilangan kompleks, operasi ini mengembalikan tensor tipe float yang merupakan bagian imajiner dari setiap elemen dalam input . Semua elemen dalam input harus berupa bilangan kompleks dalam bentuk \(a + bj\), di mana a adalah bagian nyata dan b adalah bagian imajiner yang dikembalikan oleh operasi ini.

Sebagai contoh:

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

Argumen:

Pengembalian:

Pembuat dan Penghancur

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

Atribut publik

operation
output

Fungsi publik

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

Fungsi statis publik

Tout (DataType x)

Structs

tensorflow :: ops :: Imag :: Attrs

Penyetel atribut opsional untuk Imag .

Atribut publik

operasi

Operation operation

keluaran

::tensorflow::Output output

Fungsi publik

Bayangkan

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

Bayangkan

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

simpul

::tensorflow::Node * node() const 

operator :: tensorflow :: Input

 operator::tensorflow::Input() const 

operator :: tensorflow :: Keluaran

 operator::tensorflow::Output() const 

Fungsi statis publik

Mengintip

Attrs Tout(
  DataType x
)