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 )