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.
החזרות:
-
Outputbackprops_wrt_input: גרדיאנטים המופצים לאחור בנוגע לקלטים, צורה זההinputs:gradients * (inputs >= min && inputs <= max). -
Outputbackprop_wrt_min: גרדיאנטים שעברו התפשטות לאחור לפי פרמטר מינימום, צורה[d]:sum_per_d(gradients * (inputs < min)). -
Outputbackprop_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 )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2026-11-05 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2026-11-05 (שעון UTC)."],[],[]]