tensorflow:: אופס:: FakeQuantWithMinMaxVarsGradient

#include <array_ops.h>

חישוב מעברי צבע עבור פעולת FakeQuantWithMinMaxVars .

סיכום

טיעונים:

  • scope: אובייקט Scope
  • שיפועים: שיפועים שהופצו לאחור מעל פעולת FakeQuantWithMinMaxVars .
  • כניסות: ערכים שהועברו כקלט לפעולת FakeQuantWithMinMaxVars . min, max: מרווח קוונטיזציה, צפים סקלרים.

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

  • num_bits: רוחב הסיביות של הקוונטיזציה; בין 2 ל-8, כולל.
  • narrow_range: האם לכמת ל-2^num_bits - 1 ערכים נפרדים.

החזרות:

  • Output backprops_wrt_input: מעברי צבע המופצים לאחור עם כניסות: gradients * (inputs >= min && inputs <= max) .
  • Output backprop_wrt_min: מעברים מופצים לאחור wrt min פרמטר: sum(gradients * (inputs < min)) .
  • Output backprop_wrt_max: מעברים מופצים לאחור wrt max פרמטר: sum(gradients * (inputs > max)) .

בנאים והורסים

FakeQuantWithMinMaxVarsGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input gradients, :: tensorflow::Input inputs, :: tensorflow::Input min, :: tensorflow::Input max)
FakeQuantWithMinMaxVarsGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input gradients, :: tensorflow::Input inputs, :: tensorflow::Input min, :: tensorflow::Input max, const FakeQuantWithMinMaxVarsGradient::Attrs & attrs)

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

backprop_wrt_max
backprop_wrt_min
backprops_wrt_input
operation

פונקציות סטטיות ציבוריות

NarrowRange (bool x)
NumBits (int64 x)

מבנים

tensorflow:: ops:: FakeQuantWithMinMaxVarsGradient:: Attrs

קובעי תכונות אופציונליים עבור FakeQuantWithMinMaxVarsGradient .

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

backprop_wrt_max

::tensorflow::Output backprop_wrt_max

backprop_wrt_min

::tensorflow::Output backprop_wrt_min

backprops_wrt_input

::tensorflow::Output backprops_wrt_input

מבצע

Operation operation

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

FakeQuantWithMinMaxVarsGradient

 FakeQuantWithMinMaxVarsGradient(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input gradients,
  ::tensorflow::Input inputs,
  ::tensorflow::Input min,
  ::tensorflow::Input max
)

FakeQuantWithMinMaxVarsGradient

 FakeQuantWithMinMaxVarsGradient(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input gradients,
  ::tensorflow::Input inputs,
  ::tensorflow::Input min,
  ::tensorflow::Input max,
  const FakeQuantWithMinMaxVarsGradient::Attrs & attrs
)

פונקציות סטטיות ציבוריות

טווח צר

Attrs NarrowRange(
  bool x
)

NumBits

Attrs NumBits(
  int64 x
)