تدفق التوتر:: العمليات:: MaxPoolV2
#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
: أقصى موتر الإخراج المجمعة.
البنائين والمدمرين | |
---|---|
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) |
الوظائف العامة | |
---|---|
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
المشغل::tensorflow::الإدخال
operator::tensorflow::Input() const
المشغل::tensorflow::الإخراج
operator::tensorflow::Output() const
وظائف ثابتة العامة
تنسيق البيانات
Attrs DataFormat( StringPiece x )