Tensorflow :: ops :: DecodePaddedRaw
#include <parsing_ops.h>
Interpretieren Sie die Bytes einer Zeichenfolge neu als Zahlenvektor.
Zusammenfassung
Argumente:
- scope: Ein Scope- Objekt
- input_bytes: Tensor des zu decodierenden Strings.
- fixed_length: Länge in Bytes für jedes Element der decodierten Ausgabe. Muss ein Vielfaches der Größe des Ausgabetyps sein.
Optionale Attribute (siehe Attrs
):
- little_endian: Gibt an, ob die Eingabe
input_bytes
in Little-Endian-Reihenfolge erfolgt. Wird fürout_type
Werte ignoriert, die in einem einzelnen Byte gespeichert sind, z. B.uint8
Kehrt zurück:
-
Output
: Ein Tensor mit einer weiteren Dimension als dasbytes
. Die hinzugefügte Dimension wird Größe hat gleich die Länge der Elemente derbytes
durch die Anzahl von Bytes unterteilt repräsentierenout_type
.
Konstruktoren und Destruktoren | |
---|---|
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) |
Öffentliche Attribute | |
---|---|
operation | |
output |
Öffentliche Funktionen | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Öffentliche statische Funktionen | |
---|---|
LittleEndian (bool x) |
Strukturen | |
---|---|
tensorflow :: ops :: DecodePaddedRaw :: Attrs | Optionale Attributsetzer für DecodePaddedRaw . |
Öffentliche Attribute
Operation
Operation operation
Ausgabe
::tensorflow::Output output
Öffentliche Funktionen
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 )
Knoten
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Öffentliche statische Funktionen
LittleEndian
Attrs LittleEndian( bool x )