aliran tensor:: operasi:: Dekode Mentah

#include <parsing_ops.h>

Menafsirkan ulang byte string sebagai vektor angka.

Ringkasan

Argumen:

  • ruang lingkup: Objek Lingkup
  • bytes: Semua elemen harus memiliki panjang yang sama.

Atribut opsional (lihat Attrs ):

  • little_endian: Apakah bytes input berada dalam urutan little-endian. Diabaikan untuk nilai out_type yang disimpan dalam satu byte seperti uint8 .

Pengembalian:

  • Output : Tensor dengan satu dimensi lebih banyak daripada bytes masukan. Dimensi yang ditambahkan akan memiliki ukuran yang sama dengan panjang elemen bytes dibagi dengan jumlah byte yang mewakili out_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
)