تدفق التوتر:: العمليات:: ماكس بول

#include <nn_ops.h>

ينفذ أقصى تجميع على المدخلات.

ملخص

الحجج:

  • النطاق: كائن النطاق
  • الإدخال: إدخال رباعي الأبعاد للتجميع.
  • ksize: حجم النافذة لكل بعد من موتر الإدخال.
  • الخطوات: خطوة النافذة المنزلقة لكل بُعد من موتر الإدخال.
  • الحشو: نوع خوارزمية الحشو المستخدمة.

السمات الاختيارية (انظر Attrs ):

  • data_format: تحديد تنسيق البيانات لبيانات الإدخال والإخراج. باستخدام التنسيق الافتراضي "NHWC"، يتم تخزين البيانات بالترتيب التالي: [batch, in_height, in_width, in_channels]. وبدلاً من ذلك، يمكن أن يكون التنسيق "NCHW"، بترتيب تخزين البيانات: [batch, in_channels, in_height, in_width].

عائدات:

  • 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 

المشغل::tensorflow::الإدخال

 operator::tensorflow::Input() const 

المشغل::tensorflow::الإخراج

 operator::tensorflow::Output() const 

وظائف ثابتة العامة

تنسيق البيانات

Attrs DataFormat(
  StringPiece x
)