tensorflow:: ops:: ResourceApplyAdagradDA

#include <training_ops.h>

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

תַקצִיר

טיעונים:

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

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

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

החזרות:

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

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::Operation

 operator::tensorflow::Operation() const 

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

שימוש בנעילה

Attrs UseLocking(
  bool x
)