tensorflow:: ops:: ResourceApplyProximalGradientDescent
#include <training_ops.h>עדכון '*var' כאלגוריתם FOBOS עם קצב למידה קבוע.
תַקצִיר
prox_v = משתנה - אלפא * דלתא משתנה = סימן(prox_v)/(1+אלפא*l2) * מקסימום{|prox_v|-אלפא*l1,0}
טיעונים:
- היקף: אובייקט היקף
- var: צריך להיות מתוך Variable().
- אלפא: גורם קנה מידה. חייב להיות סקלרי.
- l1: רגולריזציה של L1. חייב להיות סקלרי.
- l2: רגולריזציה של L2. חייב להיות סקלרי.
- דלתא: השינוי.
מאפיינים אופציונליים (ראה Attrs ):
- use_locking: אם True, החיסור יהיה מוגן על ידי נעילה; אחרת ההתנהגות אינה מוגדרת, אך עשויה להפגין פחות תחרות.
החזרות:
-
Operationשנוצרה
בנאים והורסים | |
|---|---|
ResourceApplyProximalGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input delta) | |
ResourceApplyProximalGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input delta, const ResourceApplyProximalGradientDescent::Attrs & attrs) |
מאפיינים ציבוריים | |
|---|---|
operation | |
תפקידים ציבוריים | |
|---|---|
operator::tensorflow::Operation () const | |
פונקציות סטטיות ציבוריות | |
|---|---|
UseLocking (bool x) | |
מבנים | |
|---|---|
| tensorflow:: ops:: ResourceApplyProximalGradientDescent:: Attrs | קובעי מאפיינים אופציונליים עבור ResourceApplyProximalGradientDescent . |
מאפיינים ציבוריים
מִבצָע
Operation operation
תפקידים ציבוריים
ResourceApplyProximalGradientDescent
ResourceApplyProximalGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input delta )
ResourceApplyProximalGradientDescent
ResourceApplyProximalGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input delta, const ResourceApplyProximalGradientDescent::Attrs & attrs )
אופרטור::tensorflow::Operation
operator::tensorflow::Operation() const
פונקציות סטטיות ציבוריות
שימוש בנעילה
Attrs UseLocking( bool 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)."],[],[]]