tensorflow:: ops:: MaxPool

#include <nn_ops.h>

ইনপুটের উপর ম্যাক্স পুলিং প্রয়োগ করে।

সারসংক্ষেপ

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • ইনপুট: পুল করার জন্য ৪-মাত্রিক ইনপুট।
  • ksize: ইনপুট টেনসরের প্রতিটি ডাইমেনশনের জন্য উইন্ডোর আকার।
  • স্ট্রাইডস: ইনপুট টেনসরের প্রতিটি ডাইমেনশনের জন্য স্লাইডিং উইন্ডোর স্ট্রাইড।
  • প্যাডিং: কোন ধরনের প্যাডিং অ্যালগরিদম ব্যবহার করা হবে।

ঐচ্ছিক অ্যাট্রিবিউটসমূহ (দেখুন Attrs ):

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

ফেরত:

  • Output : সর্বোচ্চ পুলড আউটপুট টেনসর।

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

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

জনসাধারণের বৈশিষ্ট্য

operation
output

জনসাধারণের কার্যাবলী

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

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

DataFormat (StringPiece x)

কাঠামো

tensorflow:: ops:: MaxPool:: Attrs

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

জনসাধারণের বৈশিষ্ট্য

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

জনসাধারণের কার্যাবলী

ম্যাক্সপুল

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

ম্যাক্সপুল

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

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

ডেটা ফরম্যাট

Attrs DataFormat(
  StringPiece x
)