tensorflow:: ops:: FakeQuantWithMinMaxVarsGradient
#include <array_ops.h>חשב גרדיאנטים עבור פעולת FakeQuantWithMinMaxVars .
תַקצִיר
טיעונים:
- היקף: אובייקט היקף
- גרדיאנטים: גרדיאנטים שעברו התפשטות לאחור מעל פעולת FakeQuantWithMinMaxVars .
- קלט: ערכים המועברים כקלטים לפעולת FakeQuantWithMinMaxVars . min, max: מרווח כימות, מספרים צפים סקלריים.
מאפיינים אופציונליים (ראה Attrs ):
- num_bits: רוחב הסיביות של הכימות; בין 2 ל-8, כולל.
- טווח_צר: האם לכמת לערכים נפרדים של 2^num_bits - 1.
החזרות:
-
Outputbackprops_wrt_input: גרדיאנטים שעברו התפשטות לאחור עבור קלטים:gradients * (inputs >= min && inputs <= max). -
Outputbackprop_wrt_min: גרדיאנטים שעברו התפשטות לאחור עם פרמטר min:sum(gradients * (inputs < min)). -
Outputbackprop_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( 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 )
פונקציות סטטיות ציבוריות
טווח צר
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)."],[],[]]