tensorflow:: ops:: ResourceApplyAdagradDA

#include <training_ops.h>

قم بتحديث '*var' وفقًا لمخطط adagrad التقريبي.

ملخص

الحجج:

  • النطاق: كائن النطاق
  • var: يجب أن يكون من نوع Variable().
  • gradient_accumulator: يجب أن يكون من متغير ().
  • gradient_squared_accumulator: يجب أن يكون من متغير ().
  • grad: التدرج.
  • lr: عامل القياس. يجب أن يكون قيمة عددية.
  • l1: تنظيم L1. يجب أن يكون قيمة عددية.
  • l2: تنظيم L2. يجب أن يكون قيمة عددية.
  • global_step: رقم خطوة التدريب. يجب أن يكون قيمة عددية.

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

  • استخدام القفل: إذا كانت القيمة صحيحة، فسيتم حماية تحديث موترات المتغيرات والتراكم بواسطة قفل؛ وإلا فإن السلوك غير محدد، ولكنه قد يُظهر تنازعًا أقل.

المرتجعات:

البناة والمدمرون

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
)

operator::tensorflow::Operation

 operator::tensorflow::Operation() const 

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

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

Attrs UseLocking(
  bool x
)