aliran tensor:: operasi:: Gambar
#include <math_ops.h>Mengembalikan bagian imajiner dari bilangan kompleks.
Ringkasan
 Mengingat input tensor bilangan kompleks, operasi ini mengembalikan tensor bertipe float yang merupakan bagian imajiner dari setiap elemen dalam input . Semua elemen yang input harus berbentuk bilangan kompleks \(a + bj\), dimana a adalah bagian nyata dan b adalah bagian imajiner yang dihasilkan oleh operasi ini.
Misalnya:
# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j] tf.imag(input) ==> [4.75, 5.75]
Argumen:
- ruang lingkup: Objek Lingkup
Pengembalian:
-  Output: Tensor keluaran.
| Konstruktor dan Destruktor | |
|---|---|
| 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) | |
| Struktur | |
|---|---|
| tensorflow:: ops:: Gambar:: Attrs | Penyetel atribut opsional untuk Imag . | 
Atribut publik
operasi
Operation operation
keluaran
::tensorflow::Output output
Fungsi publik
Gambar
Imag( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
Gambar
Imag( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Imag::Attrs & attrs )
simpul
::tensorflow::Node * node() const
operator::tensorflow::Masukan
operator::tensorflow::Input() const
operator::tensorflow::Keluaran
operator::tensorflow::Output() const
Fungsi statis publik
Mengintip
Attrs Tout( DataType x )