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

#include <nn_ops.h>

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

সারসংক্ষেপ

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • ইনপুট: মূল ইনপুট।
  • grad: আকৃতি সহ 4-D [batch, height, width, channels] । গ্রেডিয়েন্ট max_pool এর ইনপুট লিখবে।
  • argmax: max_pool এর প্রতিটি আউটপুটের জন্য নির্বাচিত সর্বোচ্চ মানের সূচক।
  • ksize: ইনপুট টেনসরের প্রতিটি মাত্রার জন্য উইন্ডোর আকার।
  • স্ট্রাইডস: ইনপুট টেনসরের প্রতিটি মাত্রার জন্য স্লাইডিং উইন্ডোর অগ্রগতি।
  • প্যাডিং: ব্যবহার করার জন্য প্যাডিং অ্যালগরিদমের ধরন।

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

  • Include_batch_in_index: argmax এর সমতল সূচকে ব্যাচের মাত্রা অন্তর্ভুক্ত করতে হবে কিনা।

রিটার্ন:

  • Output : গ্রেডিয়েন্টের গ্রেডিয়েন্ট max_pool এর ইনপুট দিয়ে থাকে।

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

MaxPoolGradGradWithArgmax (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input grad, :: tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding)
MaxPoolGradGradWithArgmax (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input grad, :: tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPoolGradGradWithArgmax::Attrs & attrs)

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

operation
output

পাবলিক ফাংশন

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

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

IncludeBatchInIndex (bool x)

কাঠামো

tensorflow:: ops:: MaxPoolGradGradWithArgmax:: Attrs

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

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

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

MaxPoolGradGradWithArgmax

 MaxPoolGradGradWithArgmax(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input grad,
  ::tensorflow::Input argmax,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

MaxPoolGradGradWithArgmax

 MaxPoolGradGradWithArgmax(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input grad,
  ::tensorflow::Input argmax,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const MaxPoolGradGradWithArgmax::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

ব্যাচ ইন ইনডেক্স অন্তর্ভুক্ত করুন

Attrs IncludeBatchInIndex(
  bool x
)