tensorflow::ops::DecodeRaw
#include <parsing_ops.h>Menginterpretasikan ulang byte-byte dalam sebuah string sebagai vektor angka.
Ringkasan
Argumen:
Atribut opsional (lihat Attrs ):
- little_endian: Menunjukkan apakah
bytesinput berada 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 | |
|---|---|
DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type) | |
DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type, const DecodeRaw::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::DecodeRaw::Attrs | Pengaturan atribut opsional untuk DecodeRaw . |
Atribut publik
operasi
Operation operation
keluaran
::tensorflow::Output output
Fungsi publik
DekodeMentah
DecodeRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input bytes, DataType out_type )
DekodeMentah
DecodeRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input bytes, DataType out_type, const DecodeRaw::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 )