tensorflow::ops::DecodePaddedRaw
#include <parsing_ops.h>Menginterpretasikan ulang byte-byte dalam sebuah string sebagai vektor angka.
Ringkasan
Argumen:
- Cakupan: Objek Cakupan
- input_bytes: Tensor berupa string yang akan didekode.
- fixed_length: Panjang dalam byte untuk setiap elemen dari output yang didekode. Harus merupakan kelipatan dari ukuran tipe output.
Atribut opsional (lihat Attrs ):
- little_endian: Menunjukkan apakah input
input_bytesberada dalam urutan little-endian. Diabaikan untuk nilaiout_typeyang disimpan dalam satu byte, sepertiuint8
Mengembalikan:
-
Output: Sebuah Tensor dengan satu dimensi lebih banyak daripadabytesinput. Dimensi tambahan akan memiliki ukuran yang sama dengan panjang elemenbytesdibagi dengan jumlah byte untuk merepresentasikanout_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 | Pengaturan atribut opsional untuk DecodePaddedRaw . |
Atribut publik
operasi
Operation operation
keluaran
::tensorflow::Output output
Fungsi publik
DekodeBantalanMentah
DecodePaddedRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input input_bytes, ::tensorflow::Input fixed_length, DataType out_type )
DekodeBantalanMentah
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::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Fungsi statis publik
LittleEndian
Attrs LittleEndian( bool x )