tensorflow :: অপস:: AvgPool

#include <nn_ops.h>

ইনপুটে গড় পুলিং সঞ্চালন করে।

সারসংক্ষেপ

output প্রতিটি এন্ট্রি value অনুযায়ী সংশ্লিষ্ট আকার ksize উইন্ডোর গড়।

যুক্তি:

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

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

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

রিটার্ন:

  • Output : গড় পুল আউটপুট টেনসর।

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

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

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

operation
output

পাবলিক ফাংশন

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

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

DataFormat (StringPiece x)

কাঠামো

tensorflow:: ops:: AvgPool:: Attrs

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

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

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

AvgPool

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

AvgPool

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

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

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

Attrs DataFormat(
  StringPiece x
)