تدفق التوتر:: العمليات:: تطبيقAdagradDA

#include <training_ops.h>

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

ملخص

الحجج:

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

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

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

عائدات:

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

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

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

تطبيقAdagradDA

 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
)

تطبيقAdagradDA

 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 

المشغل::tensorflow::الإدخال

 operator::tensorflow::Input() const 

المشغل::tensorflow::الإخراج

 operator::tensorflow::Output() const 

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

UseLocking

Attrs UseLocking(
  bool x
)