aliran tensor:: operasi:: DecodePaddedRaw
#include <parsing_ops.h>Menafsirkan ulang byte string sebagai vektor angka.
Ringkasan
Argumen:
- ruang lingkup: Objek Lingkup
- input_bytes: Tensor string yang akan didekodekan.
- fixed_length: Panjang dalam byte untuk setiap elemen keluaran yang didekodekan. Harus merupakan kelipatan dari ukuran jenis keluaran.
Atribut opsional (lihat Attrs ):
- little_endian: Apakah input
input_bytesdalam urutan little-endian. Diabaikan untuk nilaiout_typeyang disimpan dalam satu byte, sepertiuint8
Pengembalian:
-
Output: Tensor dengan satu dimensi lebih banyak daripadabytesmasukan. Dimensi yang ditambahkan akan memiliki ukuran yang sama dengan panjang elemenbytesdibagi dengan jumlah byte yang mewakiliout_type.
Konstruktor dan Destruktor | |
|---|---|
DecodePaddedRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input input_bytes, :: tensorflow::Input fixed_length, DataType out_type) | |
DecodePaddedRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input input_bytes, :: tensorflow::Input fixed_length, DataType out_type, const DecodePaddedRaw::Attrs & attrs) |
Atribut publik | |
|---|---|
operation | |
output | |
Fungsi publik | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Fungsi statis publik | |
|---|---|
LittleEndian (bool x) | |
Struktur | |
|---|---|
| tensorflow:: ops:: DecodePaddedRaw:: Attrs | Penyetel atribut opsional untuk DecodePaddedRaw . |
Atribut publik
operasi
Operation operation
keluaran
::tensorflow::Output output
Fungsi publik
DecodePaddedRaw
DecodePaddedRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input input_bytes, ::tensorflow::Input fixed_length, DataType out_type )
DecodePaddedRaw
DecodePaddedRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input input_bytes, ::tensorflow::Input fixed_length, DataType out_type, const DecodePaddedRaw::Attrs & attrs )
simpul
::tensorflow::Node * node() const
operator::tensorflow::Masukan
operator::tensorflow::Input() const
operator::tensorflow::Keluaran
operator::tensorflow::Output() const
Fungsi statis publik
Endian Kecil
Attrs LittleEndian( bool x )