tensorflow:: ops:: DecodePaddedRaw
#include <parsing_ops.h>Zinterpretuj bajty ciągu jako wektor liczb.
Streszczenie
Argumenty:
- zakres: obiekt zakresu
- input_bytes: Tensor ciągu znaków do zdekodowania.
- fixed_length: Długość w bajtach dla każdego elementu zdekodowanego wyniku. Musi być wielokrotnością rozmiaru typu wyjściowego.
Atrybuty opcjonalne (patrz Attrs ):
- little_endian: Czy dane wejściowe
input_bytessą w kolejności little-endian. Ignorowane w przypadku wartościout_typeprzechowywanych w jednym bajcie, takich jakuint8
Zwroty:
-
Output: Tensor o jednym wymiarze większym niżbyteswejściowe. Dodany wymiar będzie miał rozmiar równy długości elementówbytespodzielonej przez liczbę bajtów, reprezentującąout_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 settery atrybutów dla DecodePaddedRaw . |
Atrybuty publiczne
działanie
Operation operation
wyjście
::tensorflow::Output output
Funkcje publiczne
DecodePaddedRaw
DecodePaddedRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input input_bytes, ::tensorflow::Input fixed_length, DataType out_type )
DecodePaddedRaw
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::Output
operator::tensorflow::Output() const
Publiczne funkcje statyczne
LittleEndian
Attrs LittleEndian( bool x )