Tensorflow :: ops :: DecodeRaw
#include <parsing_ops.h>
Interpretieren Sie die Bytes einer Zeichenfolge neu als Zahlenvektor.
Zusammenfassung
Argumente:
Optionale Attribute (siehe Attrs
):
- little_endian: Ob das
bytes
in Little-Endian - Ordnung ist. Wird fürout_type
Werte ignoriert, die in einem einzelnen Byte wieuint8
gespeichert sind.
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 | |
---|---|
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) |
Ö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 :: DecodeRaw :: Attrs | Optionale Attributsetzer für DecodeRaw . |
Öffentliche Attribute
Operation
Operation operation
Ausgabe
::tensorflow::Output output
Öffentliche Funktionen
DecodeRaw
DecodeRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input bytes, DataType out_type )
DecodeRaw
DecodeRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input bytes, DataType out_type, const DecodeRaw::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 )