tensorflow:: אופס:: DecodeBmp
#include <image_ops.h>
פענח את המסגרת הראשונה של תמונה מקודדת BMP לטנזור uint8.
תַקצִיר
channels
attr מציינים את המספר הרצוי של ערוצי צבע עבור התמונה המפוענחת.
הערכים המקובלים הם:
- 0: השתמש במספר הערוצים בתמונה המקודדת BMP.
- 3: פלט תמונת RGB.
- 4: פלט תמונת RGBA.
טיעונים:
- scope: אובייקט Scope
- תוכן: 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
תפקידים ציבוריים
DecodeBmp
DecodeBmp( const ::tensorflow::Scope & scope, ::tensorflow::Input contents )
DecodeBmp
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 )