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

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

#include <training_ops.h>

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

ملخص

تراكم = rho () * تراكم + (1 - rho ()) * grad.square () ؛ تحديث = (update_accum + epsilon) .sqrt () * (تراكم + إبسيلون ()). rsqrt () * غراد ؛ update_accum = rho () * update_accum + (1 - rho ()) * update.square () ؛ فار - = تحديث ؛

الحجج:

  • النطاق: كائن النطاق
  • var: يجب أن يكون من متغير ().
  • تراكم: يجب أن يكون من المتغير ().
  • cum_update: يجب أن يكون من المتغير ().
  • lr: عامل التحجيم. يجب أن يكون عددًا.
  • rho: عامل الاضمحلال. يجب أن يكون عددًا.
  • إبسيلون: عامل ثابت. يجب أن يكون عددًا.
  • غراد: التدرج.

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

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

عائدات:

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

ResourceApplyAdadelta (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input accum, :: tensorflow::Input accum_update, :: tensorflow::Input lr, :: tensorflow::Input rho, :: tensorflow::Input epsilon, :: tensorflow::Input grad)
ResourceApplyAdadelta (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input accum, :: tensorflow::Input accum_update, :: tensorflow::Input lr, :: tensorflow::Input rho, :: tensorflow::Input epsilon, :: tensorflow::Input grad, const ResourceApplyAdadelta::Attrs & attrs)

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

operation

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

operator::tensorflow::Operation () const

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

UseLocking (bool x)

الهياكل

tensorflow :: ops :: ResourceApplyAdadelta :: Attrs

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

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

عملية

Operation operation

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

ResourceApplyAdadelta

 ResourceApplyAdadelta(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input accum,
  ::tensorflow::Input accum_update,
  ::tensorflow::Input lr,
  ::tensorflow::Input rho,
  ::tensorflow::Input epsilon,
  ::tensorflow::Input grad
)

ResourceApplyAdadelta

 ResourceApplyAdadelta(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input accum,
  ::tensorflow::Input accum_update,
  ::tensorflow::Input lr,
  ::tensorflow::Input rho,
  ::tensorflow::Input epsilon,
  ::tensorflow::Input grad,
  const ResourceApplyAdadelta::Attrs & attrs
)

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

 operator::tensorflow::Operation() const 

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

UseLocking

Attrs UseLocking(
  bool x
)