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 פלט
  • Output min_output: הערך הצף שמייצג ערך הפלט הכמותי הנמוך ביותר.
  • Output max_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
)