tensorflow:: אופס:: ResourceApplyAdagradDA

#include <training_ops.h>

עדכן את '*var' בהתאם לתוכנית adgrad הפרוקסימלית.

סיכום

טיעונים:

  • scope: אובייקט Scope
  • var: צריך להיות מ-Variable().
  • gradient_accumulator: צריך להיות מ-Variable().
  • gradient_squared_accumulator: צריך להיות מ-Variable().
  • grad: השיפוע.
  • lr: גורם קנה מידה. חייב להיות סקלר.
  • l1: הסדרת L1. חייב להיות סקלר.
  • l2: הסדרת L2. חייב להיות סקלר.
  • global_step: מספר שלב האימון. חייב להיות סקלר.

מאפיינים אופציונליים (ראה Attrs ):

  • use_locking: אם נכון, עדכון של הטנזורים var ו-acum יהיה מוגן על ידי מנעול; אחרת ההתנהגות אינה מוגדרת, אך עלולה להפגין פחות מחלוקת.

החזרות:

בנאים והורסים

ResourceApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step)
ResourceApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step, const ResourceApplyAdagradDA::Attrs & attrs)

תכונות ציבוריות

operation

תפקידים ציבוריים

operator::tensorflow::Operation () const

פונקציות סטטיות ציבוריות

UseLocking (bool x)

מבנים

tensorflow:: ops:: ResourceApplyAdagradDA:: Attrs

קובעי תכונות אופציונליים עבור ResourceApplyAdagradDA .

תכונות ציבוריות

מבצע

Operation operation

תפקידים ציבוריים

ResourceApplyAdagradDA

 ResourceApplyAdagradDA(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input gradient_accumulator,
  ::tensorflow::Input gradient_squared_accumulator,
  ::tensorflow::Input grad,
  ::tensorflow::Input lr,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input global_step
)

ResourceApplyAdagradDA

 ResourceApplyAdagradDA(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input gradient_accumulator,
  ::tensorflow::Input gradient_squared_accumulator,
  ::tensorflow::Input grad,
  ::tensorflow::Input lr,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input global_step,
  const ResourceApplyAdagradDA::Attrs & attrs
)

אופרטור::tensorflow::פעולה

 operator::tensorflow::Operation() const 

פונקציות סטטיות ציבוריות

השתמש בנעילה

Attrs UseLocking(
  bool x
)