tensorflow:: אופס:: ResourceApplyAdadelta
#include <training_ops.h>
עדכן את '*var' בהתאם לתוכנית adadelta.
תַקצִיר
accum = rho() * accum + (1 - rho()) * grad.square(); update = (update_accum + epsilon).sqrt() * (accum + epsilon()).rsqrt() * grad; update_accum = rho() * update_accum + (1 - rho()) * update.square(); var -= עדכון;
טיעונים:
- scope: אובייקט Scope
- var: צריך להיות מ-Variable().
- acum: צריך להיות מ-Variable().
- accum_update: אמור להיות מ-Variable().
- lr: גורם קנה מידה. חייב להיות סקלר.
- rho: גורם דעיכה. חייב להיות סקלר.
- epsilon: גורם קבוע. חייב להיות סקלר.
- grad: השיפוע.
מאפיינים אופציונליים (ראה Attrs
):
- use_locking: אם נכון, עדכון של הטנזורים var, accum ו-update_accum יהיה מוגן על ידי מנעול; אחרת ההתנהגות אינה מוגדרת, אך עלולה להפגין פחות מחלוקת.
החזרות:
-
Operation
שנוצר
בנאים והורסים | |
---|---|
ResourceApplyAdadelta (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input accum, :: tensorflow::Input accum_update, :: tensorflow::Input lr, :: tensorflow::Input rho, :: tensorflow::Input epsilon, :: tensorflow::Input grad) | |
ResourceApplyAdadelta (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input accum, :: tensorflow::Input accum_update, :: tensorflow::Input lr, :: tensorflow::Input rho, :: tensorflow::Input epsilon, :: tensorflow::Input grad, const ResourceApplyAdadelta::Attrs & attrs) |
תפקידים ציבוריים | |
---|---|
operator::tensorflow::Operation () const |
פונקציות סטטיות ציבוריות | |
---|---|
UseLocking (bool x) |
מבנים | |
---|---|
tensorflow:: ops:: ResourceApplyAdadelta:: Attrs | קובעי תכונות אופציונליים עבור ResourceApplyAdadelta . |
תכונות ציבוריות
מִבצָע
Operation operation
תפקידים ציבוריים
ResourceApplyAdadelta
ResourceApplyAdadelta(
const ::tensorflow::Scope & scope,
::tensorflow::Input var,
::tensorflow::Input accum,
::tensorflow::Input accum_update,
::tensorflow::Input lr,
::tensorflow::Input rho,
::tensorflow::Input epsilon,
::tensorflow::Input grad
)
ResourceApplyAdadelta
ResourceApplyAdadelta(
const ::tensorflow::Scope & scope,
::tensorflow::Input var,
::tensorflow::Input accum,
::tensorflow::Input accum_update,
::tensorflow::Input lr,
::tensorflow::Input rho,
::tensorflow::Input epsilon,
::tensorflow::Input grad,
const ResourceApplyAdadelta::Attrs & attrs
)
אופרטור::tensorflow::פעולה
operator::tensorflow::Operation() const
פונקציות סטטיות ציבוריות
השתמש בנעילה
Attrs UseLocking(
bool x
)