টেনসরফ্লো :: অপস:: গ্রেডিয়েন্ট ডিসেন্ট প্রয়োগ করুন
#include <training_ops.h>এটি থেকে 'আলফা' * 'ডেল্টা' বিয়োগ করে '*var' আপডেট করুন।
সারাংশ
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
- var: একটি পরিবর্তনশীল() থেকে হওয়া উচিত।
- আলফা: স্কেলিং ফ্যাক্টর। একটি স্কেলার হতে হবে।
- ব-দ্বীপ: পরিবর্তন।
ঐচ্ছিক বৈশিষ্ট্য (দেখুন Attrs ):
- use_locking:
Trueহলে, বিয়োগ একটি লক দ্বারা সুরক্ষিত হবে; অন্যথায় আচরণটি অনির্ধারিত, তবে কম বিরোধ প্রদর্শন করতে পারে।
রিটার্ন:
-
Output: "var" এর মতোই।
কনস্ট্রাক্টর এবং ডেস্ট্রাক্টর | |
|---|---|
ApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta) | |
ApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta, const ApplyGradientDescent::Attrs & attrs) |
পাবলিক বৈশিষ্ট্য | |
|---|---|
operation | |
out | |
পাবলিক ফাংশন | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
পাবলিক স্ট্যাটিক ফাংশন | |
|---|---|
UseLocking (bool x) | |
কাঠামো | |
|---|---|
| tensorflow:: ops:: ApplyGradientDescent:: Attrs | ApplyGradientDescent- এর জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার। |
পাবলিক বৈশিষ্ট্য
অপারেশন
Operation operation
আউট
::tensorflow::Output out
পাবলিক ফাংশন
গ্রেডিয়েন্ট ডিসেন্ট প্রয়োগ করুন
ApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta )
গ্রেডিয়েন্ট ডিসেন্ট প্রয়োগ করুন
ApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta, const ApplyGradientDescent::Attrs & attrs )
নোড
::tensorflow::Node * node() const
অপারেটর::টেনসরফ্লো::ইনপুট
operator::tensorflow::Input() const
অপারেটর::টেনসরফ্লো::আউটপুট
operator::tensorflow::Output() const
পাবলিক স্ট্যাটিক ফাংশন
লকিং ব্যবহার করুন
Attrs UseLocking( bool x )