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

#include <training_ops.h>

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

সারসংক্ষেপ

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • var: একটি পরিবর্তনশীল() থেকে হওয়া উচিত।
  • gradient_accumulator: একটি পরিবর্তনশীল() থেকে হতে হবে।
  • gradient_squared_accumulator: একটি পরিবর্তনশীল() থেকে হওয়া উচিত।
  • grad: গ্রেডিয়েন্ট।
  • lr: স্কেলিং ফ্যাক্টর। একটি স্কেলার হতে হবে।
  • l1: L1 নিয়মিতকরণ। একটি স্কেলার হতে হবে।
  • l2: L2 নিয়মিতকরণ। একটি স্কেলার হতে হবে।
  • global_step: প্রশিক্ষণের ধাপ নম্বর। একটি স্কেলার হতে হবে।

ঐচ্ছিক বৈশিষ্ট্য (দেখুন Attrs ):

  • use_locking: যদি সত্য হয়, var এবং accum tensors আপডেট করা একটি লক দ্বারা সুরক্ষিত হবে; অন্যথায় আচরণটি অনির্ধারিত, তবে কম বিরোধ প্রদর্শন করতে পারে।

রিটার্ন:

কনস্ট্রাক্টর এবং ডেস্ট্রাক্টর

ResourceApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step)
ResourceApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step, const ResourceApplyAdagradDA::Attrs & attrs)

পাবলিক বৈশিষ্ট্য

operation

পাবলিক ফাংশন

operator::tensorflow::Operation () const

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

UseLocking (bool x)

কাঠামো

tensorflow:: ops:: ResourceApplyAdagradDA:: Attrs

ResourceApplyAdagradDA- এর জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার।

পাবলিক বৈশিষ্ট্য

অপারেশন

Operation operation

পাবলিক ফাংশন

রিসোর্স অ্যাপ্লাইএডাগ্রাডডিএ

 ResourceApplyAdagradDA(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input gradient_accumulator,
  ::tensorflow::Input gradient_squared_accumulator,
  ::tensorflow::Input grad,
  ::tensorflow::Input lr,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input global_step
)

রিসোর্স অ্যাপ্লাইএডাগ্রাডডিএ

 ResourceApplyAdagradDA(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input gradient_accumulator,
  ::tensorflow::Input gradient_squared_accumulator,
  ::tensorflow::Input grad,
  ::tensorflow::Input lr,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input global_step,
  const ResourceApplyAdagradDA::Attrs & attrs
)

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

 operator::tensorflow::Operation() const 

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

লকিং ব্যবহার করুন

Attrs UseLocking(
  bool x
)