tensorflow::ops::DecodePaddedRaw
#include <parsing_ops.h>Reinterpretare i byte di una stringa come un vettore di numeri.
Riepilogo
Argomentazioni:
- ambito: un oggetto Scope
- input_bytes: Tensore della stringa da decodificare.
- fixed_length: Lunghezza in byte per ciascun elemento dell'output decodificato. Deve essere un multiplo della dimensione del tipo di output.
Attributi opzionali (vedere Attrs ):
- little_endian: Indica se l'input
input_bytesè in ordine little-endian. Ignorato per i valoriout_typememorizzati in un singolo byte, comeuint8
Resi:
-
Output: Un tensore con una dimensione in più rispetto aibytesdi input. La dimensione aggiunta avrà una dimensione pari alla lunghezza degli elementi inbytesdivisa per il numero di byte che rappresentanoout_type.
Costruttori e distruttori | |
|---|---|
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) |
attributi pubblici | |
|---|---|
operation | |
output | |
Funzioni pubbliche | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Funzioni statiche pubbliche | |
|---|---|
LittleEndian (bool x) | |
Strutture | |
|---|---|
| tensorflow::ops::DecodePaddedRaw::Attrs | Impostatori di attributi opzionali per DecodePaddedRaw . |
attributi pubblici
operazione
Operation operation
produzione
::tensorflow::Output output
Funzioni pubbliche
DecodificatoPaddedRaw
DecodePaddedRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input input_bytes, ::tensorflow::Input fixed_length, DataType out_type )
DecodificatoPaddedRaw
DecodePaddedRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input input_bytes, ::tensorflow::Input fixed_length, DataType out_type, const DecodePaddedRaw::Attrs & attrs )
nodo
::tensorflow::Node * node() const
operatore::tensorflow::Input
operator::tensorflow::Input() const
operatore::tensoreflusso::output
operator::tensorflow::Output() const
Funzioni statiche pubbliche
LittleEndian
Attrs LittleEndian( bool x )