tensorflow:: ops:: QuantizedConv2D
#include <nn_ops.h>מחשב קונבולוציה דו-ממדית בהינתן טנזורי קלט ומסנן 4-ממדיים כמותיים.
תַקצִיר
הקלטים הם טנזורים כמותיים כאשר הערך הנמוך ביותר מייצג את המספר האמיתי של המינימום המשויך, והגבוה ביותר מייצג את המקסימום. משמעות הדבר היא שניתן לפרש את הפלט הכמותי רק באותו אופן, על ידי התחשבות בערכי המינימום והמקסימום המוחזרים.
טיעונים:
- היקף: אובייקט היקף
- filter: ממד input_depth של המסנן חייב להתאים למידות העומק של הקלט.
- min_input: הערך הצף שמייצג ערך הקלט הכמותי הנמוך ביותר.
- max_input: הערך הצף שמייצג ערך הקלט הכמותי הגבוה ביותר.
- min_filter: הערך הצף שמייצג ערך המסנן הכמותי הנמוך ביותר.
- max_filter: הערך הצף שמייצג ערך המסנן הכמותי הגבוה ביותר.
- צעדים: הצעד של חלון ההזזה עבור כל ממד של טנזור הקלט.
- ריפוד: סוג אלגוריתם הריפוד שיש להשתמש בו.
מאפיינים אופציונליים (ראה Attrs ):
- הרחבות: טנזור חד-ממדי באורך 4. גורם ההרחבה עבור כל ממד של
input. אם מוגדר ל-k > 1, יהיו k-1 תאים שדלגו עליהם בין כל אלמנט מסנן באותו ממד. סדר הממדים נקבע על ידי הערך שלdata_format, ראה פרטים לעיל. הרחבות בממדי האצווה והעומק חייבות להיות 1.
החזרות:
-
Outputפלט -
Outputmin_output: הערך הצף שמייצג ערך הפלט הכמותי הנמוך ביותר. -
Outputmax_output: הערך הצף שמייצג ערך הפלט הכמותי הגבוה ביותר.
בנאים והורסים | |
|---|---|
QuantizedConv2D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter, :: tensorflow::Input min_input, :: tensorflow::Input max_input, :: tensorflow::Input min_filter, :: tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
QuantizedConv2D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter, :: tensorflow::Input min_input, :: tensorflow::Input max_input, :: tensorflow::Input min_filter, :: tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding, const QuantizedConv2D::Attrs & attrs) |
מאפיינים ציבוריים | |
|---|---|
max_output | |
min_output | |
operation | |
output | |
פונקציות סטטיות ציבוריות | |
|---|---|
Dilations (const gtl::ArraySlice< int > & x) | |
OutType (DataType x) | |
מבנים | |
|---|---|
| tensorflow:: ops:: QuantizedConv2D:: Attrs | קובעי מאפיינים אופציונליים עבור QuantizedConv2D . |
מאפיינים ציבוריים
תפוקה מקסימלית
::tensorflow::Output max_output
פלט_מינימלי
::tensorflow::Output min_output
מִבצָע
Operation operation
תְפוּקָה
::tensorflow::Output output
תפקידים ציבוריים
המרה כימית דו-ממדית
QuantizedConv2D( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input filter, ::tensorflow::Input min_input, ::tensorflow::Input max_input, ::tensorflow::Input min_filter, ::tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding )
המרה כימית דו-ממדית
QuantizedConv2D( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input filter, ::tensorflow::Input min_input, ::tensorflow::Input max_input, ::tensorflow::Input min_filter, ::tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding, const QuantizedConv2D::Attrs & attrs )
פונקציות סטטיות ציבוריות
התרחבות
Attrs Dilations( const gtl::ArraySlice< int > & x )
סוג חוץ
Attrs OutType( DataType x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2026-11-05 (שעון UTC).
[null,null,["עדכון אחרון: 2026-11-05 (שעון UTC)."],[],[]]