tensorflow:: אופס:: ResourceApplyGradientDescent

#include <training_ops.h>

עדכן את '*var' על ידי הפחתת 'alpha' * 'delta' ממנו.

סיכום

טיעונים:

  • scope: אובייקט Scope
  • var: צריך להיות מ-Variable().
  • אלפא: גורם קנה מידה. חייב להיות סקלר.
  • דלתא: השינוי.

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

  • use_locking: אם True , החיסור יהיה מוגן על ידי מנעול; אחרת ההתנהגות אינה מוגדרת, אך עלולה להפגין פחות מחלוקת.

החזרות:

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

ResourceApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta)
ResourceApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta, const ResourceApplyGradientDescent::Attrs & attrs)

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

operation

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

operator::tensorflow::Operation () const

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

UseLocking (bool x)

מבנים

tensorflow:: ops:: ResourceApplyGradientDescent:: Attrs

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

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

מבצע

Operation operation

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

ResourceApplyGradientDescent

 ResourceApplyGradientDescent(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input alpha,
  ::tensorflow::Input delta
)

ResourceApplyGradientDescent

 ResourceApplyGradientDescent(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input alpha,
  ::tensorflow::Input delta,
  const ResourceApplyGradientDescent::Attrs & attrs
)

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

 operator::tensorflow::Operation() const 

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

השתמש בנעילה

Attrs UseLocking(
  bool x
)