tensorflow:: ops:: MaxPool

#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 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

الدوال الثابتة العامة

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

Attrs DataFormat(
  StringPiece x
)