tensorflow:: ops:: ResourceApplyGradientDescent

#include <training_ops.h>

قم بتحديث '*var' عن طريق طرح 'alpha' * 'delta' منه.

ملخص

الحجج:

  • النطاق: كائن النطاق
  • var: يجب أن يكون من نوع Variable().
  • ألفا: عامل القياس. يجب أن يكون قيمة عددية.
  • دلتا: التغيير.

السمات الاختيارية (انظر Attrs ):

  • استخدام القفل: إذا كانت 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(
  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
)

operator::tensorflow::Operation

 operator::tensorflow::Operation() const 

الدوال الثابتة العامة

قفل الاستخدام

Attrs UseLocking(
  bool x
)