przepływ tensorowy:: ops:: DecodePaddedSurowy
#include <parsing_ops.h>
Ponownie zinterpretuj bajty ciągu jako wektor liczb.
Streszczenie
Argumenty:
- zakres: Obiekt zakresu
- input_bytes: Tensor ciągu do zdekodowania.
- fixed_length: Długość w bajtach dla każdego elementu dekodowanego wyjścia. Musi być wielokrotnością rozmiaru typu wyjściowego.
Atrybuty opcjonalne (zobacz Attrs
):
- little_endian: czy
input_bytes
jest w porządku little-endian. Ignorowane dla wartościout_type
, które są przechowywane w jednym bajcie, npuint8
Zwroty:
-
Output
: Tensor z jednym wymiarem więcej niżbytes
wejściowe. Dodany wymiar będzie miał rozmiar równy długości elementówbytes
podzielonej przez liczbę bajtów reprezentującychout_type
.
Konstruktory i destruktory | |
---|---|
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) |
Atrybuty publiczne | |
---|---|
operation | |
output |
Funkcje publiczne | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Publiczne funkcje statyczne | |
---|---|
LittleEndian (bool x) |
Struktury | |
---|---|
tensorflow:: ops:: DecodePaddedRaw:: Attrs | Opcjonalne ustawiacze atrybutów dla DecodePaddedRaw . |
Atrybuty publiczne
operacja
Operation operation
wyjście
::tensorflow::Output output
Funkcje publiczne
DecodePaddedSurowy
DecodePaddedRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input input_bytes, ::tensorflow::Input fixed_length, DataType out_type )
DecodePaddedSurowy
DecodePaddedRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input input_bytes, ::tensorflow::Input fixed_length, DataType out_type, const DecodePaddedRaw::Attrs & attrs )
węzeł
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Wyjście
operator::tensorflow::Output() const
Publiczne funkcje statyczne
LittleEndian
Attrs LittleEndian( bool x )