tensorflow:: אופס:: FakeQuantWithMinMaxVarsPerChannelGradient
#include <array_ops.h>
חישוב מעברי צבע עבור פעולת FakeQuantWithMinMaxVarsPerChannel .
תַקצִיר
טיעונים:
- scope: אובייקט Scope
- שיפועים: שיפועים מופצים לאחור מעל פעולת FakeQuantWithMinMaxVars , צור אחד מ:
[d]
,[b, d]
,[b, h, w, d]
. - כניסות: ערכים שהועברו כקלט לפעולת FakeQuantWithMinMaxVars , צורה זהה
gradients
. min, max: מרווח קוונטיזציה, צפים של צורה[d]
.
מאפיינים אופציונליים (ראה Attrs
):
- num_bits: רוחב הסיביות של הקוונטיזציה; בין 2 ל-16, כולל.
- narrow_range: האם לכמת ל-2^num_bits - 1 ערכים נפרדים.
החזרות:
-
Output
backprops_wrt_input: מעברי צבע שהופצו לאחור עם כניסות, צורה זההinputs
:gradients * (inputs >= min && inputs <= max)
. -
Output
backprop_wrt_min: מעברים מופצים לאחור wrt min parameter, shape[d]
:sum_per_d(gradients * (inputs < min))
. -
Output
backprop_wrt_max: שיפועים מופצים לאחור 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
FakeQuantWithMinMaxVarsPerChannelGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs, ::tensorflow::Input min, ::tensorflow::Input max )
FakeQuantWithMinMaxVarsPerChannelGradient
FakeQuantWithMinMaxVarsPerChannelGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input inputs, ::tensorflow::Input min, ::tensorflow::Input max, const FakeQuantWithMinMaxVarsPerChannelGradient::Attrs & attrs )