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

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

#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 بقفل ؛ وبخلاف ذلك ، يكون السلوك غير محدد ، ولكنه قد يعرض خلافًا أقل.

عائدات:

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

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

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

operation
out

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

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

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

UseLocking (bool x)

الهياكل

tensorflow :: ops :: ApplyAdadelta :: Attrs

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

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

عملية

Operation operation

خارج

::tensorflow::Output out

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

التقديم

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

التقديم

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

العقدة

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

المشغل :: Tensorflow :: Output

 operator::tensorflow::Output() const 

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

UseLocking

Attrs UseLocking(
  bool x
)