tensorflow:: ops:: ResourceApplyProximalGradientDescent
#include <training_ops.h>স্থির লার্নিং রেট সহ FOBOS অ্যালগরিদম অনুযায়ী '*var' আপডেট করুন।
সারসংক্ষেপ
prox_v = var - alpha * delta var = sign(prox_v)/(1+alpha*l2) * max{|prox_v|-alpha*l1,0}
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
- var: Variable() থেকে আসা উচিত।
- আলফা: স্কেলিং ফ্যাক্টর। অবশ্যই একটি স্কেলার হতে হবে।
- l1: L1 রেগুলারাইজেশন। অবশ্যই একটি স্কেলার হতে হবে।
- l2: L2 রেগুলারাইজেশন। অবশ্যই স্কেলার হতে হবে।
- ডেল্টা: পরিবর্তন।
ঐচ্ছিক অ্যাট্রিবিউটসমূহ (দেখুন Attrs ):
- use_locking: যদি True হয়, তাহলে বিয়োগফলটি একটি লক দ্বারা সুরক্ষিত থাকবে; অন্যথায় এর আচরণ অনির্ধারিত, তবে এতে বিরোধ কম হতে পারে।
ফেরত:
- তৈরি করা
Operation
নির্মাতা এবং ধ্বংসকারী | |
|---|---|
ResourceApplyProximalGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input delta) | |
ResourceApplyProximalGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input delta, const ResourceApplyProximalGradientDescent::Attrs & attrs) |
জনসাধারণের বৈশিষ্ট্য | |
|---|---|
operation | |
জনসাধারণের কার্যাবলী | |
|---|---|
operator::tensorflow::Operation () const | |
পাবলিক স্ট্যাটিক ফাংশন | |
|---|---|
UseLocking (bool x) | |
কাঠামো | |
|---|---|
| tensorflow:: ops:: ResourceApplyProximalGradientDescent:: Attrs | ResourceApplyProximalGradientDescent-এর জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার। |
জনসাধারণের বৈশিষ্ট্য
অপারেশন
Operation operation
জনসাধারণের কার্যাবলী
রিসোর্সঅ্যাপ্লাইপ্রক্সিমালগ্রেডিয়েন্টডিসেন্ট
ResourceApplyProximalGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input delta )
রিসোর্সঅ্যাপ্লাইপ্রক্সিমালগ্রেডিয়েন্টডিসেন্ট
ResourceApplyProximalGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input delta, const ResourceApplyProximalGradientDescent::Attrs & attrs )
অপারেটর::টেনসরফ্লো::অপারেশন
operator::tensorflow::Operation() const
পাবলিক স্ট্যাটিক ফাংশন
ইউজলকিং
Attrs UseLocking( bool x )