সেন্সরফ্লো :: অপস :: রিসোর্স অ্যাপ্লাইপ্রক্সিমাল গ্রেডিয়েন্টডেসেন্ট
#include <training_ops.h>
স্থির শেখার হারের সাথে FOBOS অ্যালগরিদম হিসাবে '* var' আপডেট করুন।
সারসংক্ষেপ
prox_v = var - alpha * ডেল্টা ভার = চিহ্ন (প্রক্স_ভি) / (1 + আলফা * l2) * সর্বাধিক {
যুক্তি:
- সুযোগ: একটি স্কোপ অবজেক্ট
- var: পরিবর্তনশীল () থেকে হওয়া উচিত।
- আলফা: স্কেলিং ফ্যাক্টর। অবশ্যই একটি স্কেলার হতে হবে।
- l1: এল 1 নিয়মিতকরণ। অবশ্যই একটি স্কেলার হতে হবে।
- l2: এল 2 নিয়মিতকরণ। অবশ্যই একটি স্কেলার হতে হবে।
- বদ্বীপ: পরিবর্তন।
- ব্যবহার_লকিং: যদি সত্য হয় তবে বিয়োগটি একটি লক দ্বারা সুরক্ষিত হবে; অন্যথায় আচরণটি অনির্ধারিত, তবে কম বিতর্ক প্রদর্শন করতে পারে।
রিটার্নস:
- তৈরি
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) |
স্ট্রাক্টস | |
---|---|
টেনসরফ্লো :: অপস :: রিসোর্স অ্যাপ্লাইপ্রক্সিমাল গ্রেডিয়েন্টডেসেন্ট :: অ্যাটারস | রিসোর্স অ্যাপ্লাইপ্রক্সিমালগ্র্যাডিয়েন্টডেসেন্টের জন্য alচ্ছিক অ্যাট্রিবিউট সেটটার। |
জনসাধারণের গুণাবলী
অপারেশন
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 )