tensorflow:: ops:: DecodeRaw
#include <parsing_ops.h>פרש מחדש את הבייטים של מחרוזת כווקטור של מספרים.
תַקצִיר
טיעונים:
מאפיינים אופציונליים (ראה Attrs ):
- little_endian: האם
bytesהקלט הם בסדר little-endian. המערכת מתעלמת מערכיout_typeהמאוחסנים בבייט בודד כמוuint8.
החזרות:
-
Output: טנזור עם ממד אחד יותרbytesשל הקלט. הממד הנוסף יהיה בגודל שווה לאורך אלמנטיbytesחלקי מספר הבייטים המייצגיםout_type.
בנאים והורסים | |
|---|---|
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) |
מאפיינים ציבוריים | |
|---|---|
operation | |
output | |
תפקידים ציבוריים | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
פונקציות סטטיות ציבוריות | |
|---|---|
LittleEndian (bool x) | |
מבנים | |
|---|---|
| tensorflow:: ops:: DecodeRaw:: Attrs | קובעי מאפיינים אופציונליים עבור DecodeRaw . |
מאפיינים ציבוריים
מִבצָע
Operation operation
תְפוּקָה
::tensorflow::Output output
תפקידים ציבוריים
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 )
צוֹמֶת
::tensorflow::Node * node() const
אופרטור::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
ליטל-אנדיאן
Attrs LittleEndian( bool x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2026-11-05 (שעון UTC).
[null,null,["עדכון אחרון: 2026-11-05 (שעון UTC)."],[],[]]