tensorflow:: ops:: FakeQuantWithMinMaxVarsPerChannelGradient

#include <array_ops.h>

חשב גרדיאנטים עבור פעולת FakeQuantWithMinMaxVarsPerChannel .

תַקצִיר

טיעונים:

  • היקף: אובייקט היקף
  • גרדיאנטים: גרדיאנטים שעברו התפשטות לאחור מעל פעולת FakeQuantWithMinMaxVars , צורה אחת מהאפשרויות הבאות: [d] , [b, d] , [b, h, w, d] .
  • קלט: ערכים המועברים כקלטים לפעולת FakeQuantWithMinMaxVars , צורה זהה gradients . min, max: מרווח כימות, ציפים של הצורה [d] .

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

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

החזרות:

  • Output backprops_wrt_input: גרדיאנטים המופצים לאחור בנוגע לקלטים, צורה זהה inputs : gradients * (inputs >= min && inputs <= max) .
  • Output backprop_wrt_min: גרדיאנטים שעברו התפשטות לאחור לפי פרמטר מינימום, צורה [d] : sum_per_d(gradients * (inputs < min)) .
  • Output backprop_wrt_max: גרדיאנטים שעברו התפשטות לאחור בנוגע לפרמטר מקסימלי, צורה [d] : sum_per_d(gradients * (inputs > max)) .

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

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

מאפיינים ציבוריים

backprop_wrt_max
backprop_wrt_min
backprops_wrt_input
operation

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

NarrowRange (bool x)
NumBits (int64 x)

מבנים

tensorflow:: ops:: FakeQuantWithMinMaxVarsPerChannelGradient:: Attrs

קובעי מאפיינים אופציונליים עבור FakeQuantWithMinMaxVarsPerChannelGradient .

מאפיינים ציבוריים

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

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

כמות מזויפת עם מינימום מקסימום משתנים לכל ערוץ גרדיאנט

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

כמות מזויפת עם מינימום מקסימום משתנים לכל ערוץ גרדיאנט

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

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

טווח צר

Attrs NarrowRange(
  bool x
)

מספר ביט

Attrs NumBits(
  int64 x
)