tensorflow:: ops:: ApplyAdagradDA

#include <training_ops.h>

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

ملخص

الحجج:

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

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

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

المرتجعات:

  • Output : نفس الناتج "var".

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

ApplyAdagradDA (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)
ApplyAdagradDA (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 ApplyAdagradDA::Attrs & attrs)

السمات العامة

operation
out

الوظائف العامة

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

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

UseLocking (bool x)

الهياكل

tensorflow:: ops:: ApplyAdagradDA:: Attrs

أدوات تعيين السمات الاختيارية لـ ApplyAdagradDA .

السمات العامة

عملية

Operation operation

خارج

::tensorflow::Output out

الوظائف العامة

تطبيق أداغراد

 ApplyAdagradDA(
  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
)

تطبيق أداغراد

 ApplyAdagradDA(
  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 ApplyAdagradDA::Attrs & attrs
)

العقدة

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

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

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

Attrs UseLocking(
  bool x
)