نشكرك على متابعة Google I / O. عرض جميع الجلسات عند الطلب مشاهدة عند الطلب

تينسورفلو :: العمليات :: ResourceApplyAdagradDA

#include <training_ops.h>

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

ملخص

الحجج:

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

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

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

عائدات:

البنائين والمدمرين

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
)

المشغل :: Tensorflow :: العملية

 operator::tensorflow::Operation() const 

وظائف ثابتة عامة

UseLocking

Attrs UseLocking(
  bool x
)