Google I/O-তে টিউন করার জন্য ধন্যবাদ। চাহিদা অনুযায়ী সব সেশন দেখুন চাহিদা অনুযায়ী দেখুন

সেন্সরফ্লো :: অপস :: প্রয়োগডাডসাইন

#include <training_ops.h>

অ্যাডসাইন আপডেট অনুযায়ী '* var' আপডেট করুন।

সারসংক্ষেপ

m_t <- beta1 * m_ {t-1} + (1 - beta1) * g আপডেট <- (আলফা + চিহ্ন_ডেকা * চিহ্ন (ছ) * চিহ্ন (এম)) * জি ভেরিয়েবল <- পরিবর্তনশীল - lr_t * আপডেট

যুক্তি:

  • সুযোগ: একটি স্কোপ অবজেক্ট
  • var: পরিবর্তনশীল () থেকে হওয়া উচিত।
  • মি: একটি চলক () থেকে হওয়া উচিত।
  • lr: স্কেলিং ফ্যাক্টর। অবশ্যই একটি স্কেলার হতে হবে।
  • আলফা: অবশ্যই একটি স্কেলার হওয়া উচিত।
  • sign_decay: অবশ্যই একটি স্কেলার হওয়া উচিত।
  • বিটা: অবশ্যই স্কেলার হওয়া উচিত।
  • গ্রেড: গ্রেডিয়েন্ট।

Attrs বৈশিষ্ট্য ( Attrs ):

  • ব্যবহার_লকিং: যদি True তবে ভেরি এবং মি টেনারগুলি আপডেট করা একটি লক দ্বারা সুরক্ষিত থাকবে; অন্যথায় আচরণটি সংজ্ঞায়িত হলেও কম বিতর্ক প্রদর্শন করতে পারে।

রিটার্নস:

  • Output : "ভার" হিসাবে একই।

নির্মাণকারী এবং ধ্বংসকারী

ApplyAddSign (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input m, :: tensorflow::Input lr, :: tensorflow::Input alpha, :: tensorflow::Input sign_decay, :: tensorflow::Input beta, :: tensorflow::Input grad)
ApplyAddSign (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input m, :: tensorflow::Input lr, :: tensorflow::Input alpha, :: tensorflow::Input sign_decay, :: tensorflow::Input beta, :: tensorflow::Input grad, const ApplyAddSign::Attrs & attrs)

জনসাধারণের গুণাবলী

operation
out

পাবলিক ফাংশন

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

পাবলিক স্ট্যাটিক ফাংশন

UseLocking (bool x)

স্ট্রাক্টস

টেনসরফ্লো :: অপ্স :: অ্যাপ্লিকেশনএডসাইন :: অ্যাটারস

অ্যাপ্লিকেশনএডসাইন এর জন্য .চ্ছিক বৈশিষ্ট্য সেটটার ters

জনসাধারণের গুণাবলী

অপারেশন

Operation operation

আউট

::tensorflow::Output out

পাবলিক ফাংশন

প্রয়োগডাডসাইন

 ApplyAddSign(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input m,
  ::tensorflow::Input lr,
  ::tensorflow::Input alpha,
  ::tensorflow::Input sign_decay,
  ::tensorflow::Input beta,
  ::tensorflow::Input grad
)

প্রয়োগডাডসাইন

 ApplyAddSign(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input m,
  ::tensorflow::Input lr,
  ::tensorflow::Input alpha,
  ::tensorflow::Input sign_decay,
  ::tensorflow::Input beta,
  ::tensorflow::Input grad,
  const ApplyAddSign::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

অপারেটর :: টেনসরফ্লো :: ইনপুট

 operator::tensorflow::Input() const 

অপারেটর :: টেনসরফ্লো :: আউটপুট

 operator::tensorflow::Output() const 

পাবলিক স্ট্যাটিক ফাংশন

ইউজলকিং

Attrs UseLocking(
  bool x
)