tensorflow:: אופס:: ExtractJpegShape
#include <image_ops.h>
חלץ את מידע הצורה של תמונה מקודדת JPEG.
סיכום
האופציה הזו מנתחת רק את כותרת התמונה, כך שהיא הרבה יותר מהירה מ- DecodeJpeg .
טיעונים:
- scope: אובייקט Scope
- תוכן: 0-D. התמונה מקודדת JPEG.
מאפיינים אופציונליים (ראה Attrs
):
- output_type: (אופציונלי) סוג הפלט של הפעולה (int32 או int64). ברירת המחדל היא int32.
החזרות:
-
Output
: 1-D. צורת התמונה עם פורמט [גובה, רוחב, ערוצים].
בנאים והורסים | |
---|---|
ExtractJpegShape (const :: tensorflow::Scope & scope, :: tensorflow::Input contents) | |
ExtractJpegShape (const :: tensorflow::Scope & scope, :: tensorflow::Input contents, const ExtractJpegShape::Attrs & attrs) |
תכונות ציבוריות | |
---|---|
image_shape | |
operation |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
פונקציות סטטיות ציבוריות | |
---|---|
OutputType (DataType x) |
מבנים | |
---|---|
tensorflow:: ops:: ExtractJpegShape:: Attrs | קובעי תכונות אופציונליים עבור ExtractJpegShape . |
תכונות ציבוריות
תמונה_צורה
::tensorflow::Output image_shape
מבצע
Operation operation
תפקידים ציבוריים
ExtractJpegShape
ExtractJpegShape( const ::tensorflow::Scope & scope, ::tensorflow::Input contents )
ExtractJpegShape
ExtractJpegShape( const ::tensorflow::Scope & scope, ::tensorflow::Input contents, const ExtractJpegShape::Attrs & attrs )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
OutputType
Attrs OutputType( DataType x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-01 (שעון UTC).
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"חסרים לי מידע או פרטים"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"התוכן מורכב מדי או עם יותר מדי שלבים"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"התוכן לא עדכני"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"בעיה בתרגום"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"בעיה בדוגמאות/בקוד"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"סיבה אחרת"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"התוכן קל להבנה"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"התוכן עזר לי לפתור בעיה"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"סיבה אחרת"
}]