tensorflow:: אופס:: QuantizedConv2D

#include <nn_ops.h>

מחשב קונבולולוציה דו-ממדית בהינתן טנסורי קלט 4-ממדים ופילטרים.

סיכום

התשומות הן טנזורים כמותיים כאשר הערך הנמוך ביותר מייצג את המספר האמיתי של המינימום המשויך, והגבוה ביותר מייצג את המקסימום. משמעות הדבר היא שאתה יכול רק לפרש את הפלט המקוונטי באותו אופן, על ידי התחשבות בערכי המינימום והמקסימום המוחזרים.

טיעונים:

  • scope: אובייקט Scope
  • מסנן: ממד input_depth של המסנן חייב להתאים לממדי העומק של הקלט.
  • min_input: הערך הצף שערך הקלט הקוונטי הנמוך ביותר מייצג.
  • max_input: הערך הצף שערך הקלט הקוונטי הגבוה ביותר מייצג.
  • min_filter: הערך הצף שערך המסנן הקוונטי הנמוך ביותר מייצג.
  • max_filter: הערך הצף שערך המסנן הקוונטי הגבוה ביותר מייצג.
  • צעדים: הצעד של חלון ההזזה עבור כל מימד של טנסור הקלט.
  • ריפוד: סוג אלגוריתם הריפוד שיש להשתמש בו.

מאפיינים אופציונליים (ראה Attrs ):

  • הרחבות: טנזור 1-D באורך 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 .

תכונות ציבוריות

max_output

::tensorflow::Output max_output

min_output

::tensorflow::Output min_output

מבצע

Operation operation

תְפוּקָה

::tensorflow::Output output

תפקידים ציבוריים

QuantizedConv2D

 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

 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
)

OutType

Attrs OutType(
  DataType x
)