সেন্সরফ্লো :: অপস :: প্রয়োগপ্রক্সিমাল গ্রেডিয়েন্টডেসেন্ট
#include <training_ops.h>
স্থির শেখার হারের সাথে FOBOS অ্যালগরিদম হিসাবে '* var' আপডেট করুন।
সারসংক্ষেপ
prox_v = var - alpha * delta var = sign (prox_v) / (1 + আলফা * l2) * সর্বাধিক {| প্রক্স_ভি | -আলফা * l1,0}
যুক্তি:
- সুযোগ: একটি স্কোপ অবজেক্ট
- var: পরিবর্তনশীল () থেকে হওয়া উচিত।
- আলফা: স্কেলিং ফ্যাক্টর। অবশ্যই একটি স্কেলার হতে হবে।
- l1: এল 1 নিয়মিতকরণ। অবশ্যই একটি স্কেলার হতে হবে।
- l2: এল 2 নিয়মিতকরণ। অবশ্যই একটি স্কেলার হতে হবে।
- বদ্বীপ: পরিবর্তন।
- ব্যবহার_লকিং: যদি সত্য হয় তবে বিয়োগটি একটি লক দ্বারা সুরক্ষিত হবে; অন্যথায় আচরণটি সংজ্ঞায়িত হলেও কম বিতর্ক প্রদর্শন করতে পারে।
রিটার্নস:
-
Output
: "ভার" হিসাবে একই।
নির্মাণকারী এবং ধ্বংসকারী | |
---|---|
ApplyProximalGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input delta) | |
ApplyProximalGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input delta, const ApplyProximalGradientDescent::Attrs & attrs) |
জনসাধারণের গুণাবলী | |
---|---|
operation | |
out |
পাবলিক ফাংশন | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
পাবলিক স্ট্যাটিক ফাংশন | |
---|---|
UseLocking (bool x) |
স্ট্রাক্টস | |
---|---|
টেনসরফ্লো :: অপ্স :: প্রয়োগপ্রক্সিমালগ্র্যাডিয়েন্টডেসেন্ট :: অ্যাটারস | প্রয়োগপ্রক্সিমালগ্র্যাডিয়েন্টডেসেন্টের জন্য alচ্ছিক অ্যাট্রিবিউট সেটটার । |
জনসাধারণের গুণাবলী
অপারেশন
Operation operation
আউট
::tensorflow::Output out
পাবলিক ফাংশন
প্রয়োগপ্রক্সিমাল গ্রেডিয়েন্টডেসেন্ট
ApplyProximalGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input delta )
প্রয়োগপ্রক্সিমাল গ্রেডিয়েন্টডেসেন্ট
ApplyProximalGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input delta, const ApplyProximalGradientDescent::Attrs & attrs )
নোড
::tensorflow::Node * node() const
অপারেটর :: টেনসরফ্লো :: ইনপুট
operator::tensorflow::Input() const
অপারেটর :: টেনসরফ্লো :: আউটপুট
operator::tensorflow::Output() const
পাবলিক স্ট্যাটিক ফাংশন
ইউজলকিং
Attrs UseLocking( bool x )