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

#include <nn_ops.h>

ইনপুট সর্বোচ্চ পুলিং সঞ্চালন.

সারসংক্ষেপ

যুক্তি:

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

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

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

রিটার্ন:

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

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

MaxPoolV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding)
MaxPoolV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding, const MaxPoolV2::Attrs & attrs)

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

operation
output

পাবলিক ফাংশন

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

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

DataFormat (StringPiece x)

কাঠামো

tensorflow:: ops:: MaxPoolV2:: Attrs

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

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

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

MaxPoolV2

 MaxPoolV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input ksize,
  ::tensorflow::Input strides,
  StringPiece padding
)

MaxPoolV2

 MaxPoolV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input ksize,
  ::tensorflow::Input strides,
  StringPiece padding,
  const MaxPoolV2::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

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

Attrs DataFormat(
  StringPiece x
)