تدفق التوتر:: العمليات:: ResourceApplyAdadelta
#include <training_ops.h>
قم بتحديث '*var' وفقًا لمخطط adadelta.
ملخص
accum = rho() * accum + (1 - rho()) * grad.square(); التحديث = (update_accum + epsilon).sqrt() * (accum + epsilon()).rsqrt() * grad; update_accum = rho() * update_accum + (1 - rho()) * update.square(); فار -= تحديث;
الحجج:
- النطاق: كائن النطاق
- فار: يجب أن يكون من متغير ().
- تراكم: يجب أن يكون من متغير ().
- accum_update: يجب أن يكون من متغير ().
- lr: عامل التحجيم. يجب أن يكون العددية.
- رو: عامل الاضمحلال. يجب أن يكون العددية.
- إبسيلون: العامل الثابت. يجب أن يكون العددية.
- غراد: التدرج.
السمات الاختيارية (انظر Attrs
):
- use_locking: إذا كان صحيحًا، فسيتم حماية تحديث موترات var وaccum وupdate_accum بواسطة قفل؛ وإلا فإن السلوك غير محدد، ولكنه قد يحمل قدرًا أقل من الخلاف.
العوائد:
-
Operation
التي تم إنشاؤها
البنائين والمدمرين | |
---|---|
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) |
الوظائف العامة | |
---|---|
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::Operation
operator::tensorflow::Operation() const
وظائف ثابتة العامة
UseLocking
Attrs UseLocking( bool x )