tensorflow:: ops:: DecodeBmp
#include <image_ops.h>פענח את הפריים הראשון של תמונה מקודדת BMP לטנזור uint8.
תַקצִיר
channels attr מציינים את מספר ערוצי הצבע הרצוי עבור התמונה המפוענחת.
הערכים המקובלים הם:
- 0: השתמש במספר הערוצים בתמונה המקודדת ב-BMP.
- 3: פלט תמונת RGB.
- 4: פלט תמונת RGBA.
טיעונים:
- היקף: אובייקט היקף
- תוכן: 0-D. התמונה מקודדת BMP.
החזרות:
-
Output: תלת-ממדי עם צורה[height, width, channels]. סדר RGB
בנאים והורסים | |
|---|---|
DecodeBmp (const :: tensorflow::Scope & scope, :: tensorflow::Input contents) | |
DecodeBmp (const :: tensorflow::Scope & scope, :: tensorflow::Input contents, const DecodeBmp::Attrs & attrs) |
מאפיינים ציבוריים | |
|---|---|
image | |
operation | |
תפקידים ציבוריים | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
פונקציות סטטיות ציבוריות | |
|---|---|
Channels (int64 x) | |
מבנים | |
|---|---|
| tensorflow:: ops:: DecodeBmp:: Attrs | קובעי תכונות אופציונליים עבור DecodeBmp . |
מאפיינים ציבוריים
תְמוּנָה
::tensorflow::Output image
מִבצָע
Operation operation
תפקידים ציבוריים
פענוח Bmp
DecodeBmp( const ::tensorflow::Scope & scope, ::tensorflow::Input contents )
פענוח Bmp
DecodeBmp( const ::tensorflow::Scope & scope, ::tensorflow::Input contents, const DecodeBmp::Attrs & attrs )
צוֹמֶת
::tensorflow::Node * node() const
אופרטור::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
ערוצים
Attrs Channels( int64 x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2026-11-05 (שעון UTC).
[null,null,["עדכון אחרון: 2026-11-05 (שעון UTC)."],[],[]]