aliran tensor:: operasi:: Dekode Mentah
#include <parsing_ops.h>Menafsirkan ulang byte string sebagai vektor angka.
Ringkasan
Argumen:
Atribut opsional (lihat Attrs ):
- little_endian: Apakah
bytesinput berada dalam 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 | |
|---|---|
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 | Penyetel atribut opsional untuk DecodeRaw . |
Atribut publik
operasi
Operation operation
keluaran
::tensorflow::Output output
Fungsi publik
Dekode Mentah
DecodeRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input bytes, DataType out_type )
Dekode Mentah
DecodeRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input bytes, DataType out_type, const DecodeRaw::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 )