tensorflow:: אופס:: DecodePaddedRaw
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
#include <parsing_ops.h>
פרש מחדש את הבתים של מחרוזת כווקטור של מספרים.
תַקצִיר
טיעונים:
- scope: אובייקט Scope
- input_bytes: טנסור של מחרוזת לפענוח.
- fixed_length: אורך בבתים עבור כל רכיב של הפלט המפוענח. חייב להיות כפולה של הגודל של סוג הפלט.
מאפיינים אופציונליים (ראה Attrs
):
- little_endian: האם הקלט
input_bytes
הוא בסדר little-endian. התעלמה עבור ערכיout_type
המאוחסנים בבייט בודד, כמוuint8
החזרות:
-
Output
: Tensor עם מימד אחד יותר מבייטיbytes
. לממד שנוסף יהיה גודל שווה לאורך של רכיביbytes
חלקי מספר הבתים לייצגout_type
.
בנאים והורסים | |
---|---|
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) |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
פונקציות סטטיות ציבוריות | |
---|---|
LittleEndian (bool x) |
מבנים | |
---|---|
tensorflow:: ops:: DecodePaddedRaw:: Attrs | קובעי תכונות אופציונליים עבור DecodePaddedRaw . |
תכונות ציבוריות
מִבצָע
Operation operation
תְפוּקָה
::tensorflow::Output output
תפקידים ציבוריים
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 )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
ליטל אנדיאן
Attrs LittleEndian( bool x )