tensorflow:: عملیات:: AvgPool

#include <nn_ops.h>

میانگین‌گیری (average pooling) را روی ورودی انجام می‌دهد.

خلاصه

هر ورودی در output ، میانگین اندازه متناظر پنجره ksize در value است.

استدلال‌ها:

  • دامنه: یک شیء دامنه
  • مقدار: چهاربعدی با شکل [batch, height, width, channels] .
  • ksize: اندازه پنجره کشویی برای هر بُعد از value .
  • گام‌ها: گام پنجره کشویی برای هر بُعد از value .
  • padding: نوع الگوریتم padding مورد استفاده.

ویژگی‌های اختیاری (به Attrs مراجعه کنید):

  • قالب داده: قالب داده ورودی و خروجی را مشخص کنید. با قالب پیش‌فرض "NHWC"، داده‌ها به ترتیب زیر ذخیره می‌شوند: [batch, in_height, in_width, in_channels]. به طور جایگزین، قالب می‌تواند "NCHW" باشد، که ترتیب ذخیره‌سازی داده‌ها به صورت زیر است: [batch, in_channels, in_height, in_width].

بازده:

  • 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:: عملیات:: AvgPool:: جاذبه‌ها

تنظیم‌کننده‌های ویژگی اختیاری برای AvgPool .

ویژگی‌های عمومی

عملیات

Operation operation

خروجی

::tensorflow::Output 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
)

گره

::tensorflow::Node * node() const 

عملگر::tensorflow::ورودی

 operator::tensorflow::Input() const 

عملگر::tensorflow::خروجی

 operator::tensorflow::Output() const 

توابع استاتیک عمومی

قالب داده

Attrs DataFormat(
  StringPiece x
)