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

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

#include <training_ops.h>

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

ملخص

الحجج:

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

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

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

عائدات:

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

ResourceSparseApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input indices, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step)
ResourceSparseApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input indices, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step, const ResourceSparseApplyAdagradDA::Attrs & attrs)

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

operation

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

operator::tensorflow::Operation () const

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

UseLocking (bool x)

الهياكل

tensorflow :: ops :: ResourceSparseApplyAdagradDA :: Attrs

محددات السمات الاختيارية لـ ResourceSparseApplyAdagradDA .

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

عملية

Operation operation

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

ResourceSparseApplyAdagradDA

 ResourceSparseApplyAdagradDA(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input gradient_accumulator,
  ::tensorflow::Input gradient_squared_accumulator,
  ::tensorflow::Input grad,
  ::tensorflow::Input indices,
  ::tensorflow::Input lr,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input global_step
)

ResourceSparseApplyAdagradDA

 ResourceSparseApplyAdagradDA(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input gradient_accumulator,
  ::tensorflow::Input gradient_squared_accumulator,
  ::tensorflow::Input grad,
  ::tensorflow::Input indices,
  ::tensorflow::Input lr,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input global_step,
  const ResourceSparseApplyAdagradDA::Attrs & attrs
)

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

 operator::tensorflow::Operation() const 

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

UseLocking

Attrs UseLocking(
  bool x
)