tensorflow:: ops:: ResourceApplyGradientDescent

#include <training_ops.h>

עדכון '*var' על ידי חיסור 'alpha' * 'delta' ממנו.

תַקצִיר

טיעונים:

  • היקף: אובייקט היקף
  • 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::Operation

 operator::tensorflow::Operation() const 

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

שימוש בנעילה

Attrs UseLocking(
  bool x
)