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

#include <nn_ops.h>

ম্যাক্সপুলিং ফাংশনের গ্রেডিয়েন্ট গণনা করে।

সারসংক্ষেপ

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • orig_input: মূল ইনপুট টেনসর।
  • orig_output: মূল আউটপুট টেনসর।
  • গ্রেড: 4-ডি। গ্রেডিয়েন্ট max_pool এর আউটপুট লিখবে।
  • ksize: ইনপুট টেনসরের প্রতিটি মাত্রার জন্য উইন্ডোর আকার।
  • স্ট্রাইডস: ইনপুট টেনসরের প্রতিটি মাত্রার জন্য স্লাইডিং উইন্ডোর অগ্রগতি।
  • প্যাডিং: ব্যবহার করার জন্য প্যাডিং অ্যালগরিদমের ধরন।

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

  • data_format: ইনপুট এবং আউটপুট ডেটার ডেটা বিন্যাস উল্লেখ করুন। ডিফল্ট ফর্ম্যাট "NHWC" এর সাথে, ডেটা এই ক্রমে সংরক্ষণ করা হয়: [ব্যাচ, ইন_উচ্চতা, ইন_প্রস্থ, ইন_চ্যানেল]। বিকল্পভাবে, বিন্যাসটি "NCHW" হতে পারে, এর ডেটা স্টোরেজ অর্ডার: [ব্যাচ, ইন_চ্যানেল, ইন_উচ্চতা, ইন_প্রস্থ]।

রিটার্ন:

  • Output : গ্রেডিয়েন্ট ইনপুটকে max_pool এ লিখবে।

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

MaxPoolGradV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input orig_input, :: tensorflow::Input orig_output, :: tensorflow::Input grad, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding)
MaxPoolGradV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input orig_input, :: tensorflow::Input orig_output, :: tensorflow::Input grad, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding, const MaxPoolGradV2::Attrs & attrs)

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

operation
output

পাবলিক ফাংশন

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

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

DataFormat (StringPiece x)

কাঠামো

tensorflow:: ops:: MaxPoolGradV2:: Attrs

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

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

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

MaxPoolGradV2

 MaxPoolGradV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input orig_input,
  ::tensorflow::Input orig_output,
  ::tensorflow::Input grad,
  ::tensorflow::Input ksize,
  ::tensorflow::Input strides,
  StringPiece padding
)

MaxPoolGradV2

 MaxPoolGradV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input orig_input,
  ::tensorflow::Input orig_output,
  ::tensorflow::Input grad,
  ::tensorflow::Input ksize,
  ::tensorflow::Input strides,
  StringPiece padding,
  const MaxPoolGradV2::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

উপাত্ত বিন্যাস

Attrs DataFormat(
  StringPiece x
)