تدفق التوتر:: العمليات:: ResourceApplyGradientDescent
#include <training_ops.h>
قم بتحديث '*var' بطرح 'alpha' * 'delta' منه.
ملخص
الحجج:
- النطاق: كائن النطاق
- فار: يجب أن يكون من متغير ().
- ألفا: عامل التحجيم. يجب أن يكون العددية.
- دلتا: التغيير.
السمات الاختيارية (انظر Attrs
):
- use_locking: إذا كان
True
، فسيتم حماية عملية الطرح بواسطة قفل؛ وإلا فإن السلوك غير محدد، ولكنه قد يحمل قدرًا أقل من الخلاف.
العوائد:
-
Operation
التي تم إنشاؤها
البنائين والمدمرين | |
---|---|
ResourceApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta) | |
ResourceApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta, const ResourceApplyGradientDescent::Attrs & attrs) |
الوظائف العامة | |
---|---|
operator::tensorflow::Operation () const |
وظائف ثابتة العامة | |
---|---|
UseLocking (bool x) |
الهياكل | |
---|---|
Tensorflow:: ops:: ResourceApplyGradientDescent:: Attrs | محددات السمات الاختيارية لـ ResourceApplyGradientDescent . |
الصفات العامة
عملية
Operation operation
الوظائف العامة
ResourceApplyGradientDescent
ResourceApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta )
ResourceApplyGradientDescent
ResourceApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta, const ResourceApplyGradientDescent::Attrs & attrs )
المشغل::tensorflow::Operation
operator::tensorflow::Operation() const
وظائف ثابتة العامة
UseLocking
Attrs UseLocking( bool x )