تدفق التوتر:: العمليات:: MaxPoolGradV2
#include <nn_ops.h>
يحسب التدرجات من وظيفة maxpooling.
ملخص
الحجج:
- النطاق: كائن النطاق
- orig_input: موتر الإدخال الأصلي.
- orig_output: موتر الإخراج الأصلي.
- التخرج: 4-د. التدرجات تكتب مخرجات
max_pool
. - ksize: حجم النافذة لكل بعد من موتر الإدخال.
- الخطوات: خطوة النافذة المنزلقة لكل بُعد من موتر الإدخال.
- الحشو: نوع خوارزمية الحشو المستخدمة.
السمات الاختيارية (انظر Attrs
):
- data_format: تحديد تنسيق البيانات لبيانات الإدخال والإخراج. باستخدام التنسيق الافتراضي "NHWC"، يتم تخزين البيانات بالترتيب التالي: [batch, in_height, in_width, in_channels]. وبدلاً من ذلك، يمكن أن يكون التنسيق "NCHW"، بترتيب تخزين البيانات: [batch, in_channels, in_height, in_width].
العوائد:
-
Output
: التدرجات تكتب الإدخال إلىmax_pool
.
البنائين والمدمرين | |
---|---|
MaxPoolGradV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input orig_input, :: tensorflow::Input orig_output, :: tensorflow::Input grad, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding) | |
MaxPoolGradV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input orig_input, :: tensorflow::Input orig_output, :: tensorflow::Input grad, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding, const MaxPoolGradV2::Attrs & attrs) |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة العامة | |
---|---|
DataFormat (StringPiece x) |
الهياكل | |
---|---|
Tensorflow:: ops:: MaxPoolGradV2:: Attrs | محددات السمات الاختيارية لـ MaxPoolGradV2 . |
الصفات العامة
عملية
Operation operation
الإخراج
::tensorflow::Output output
الوظائف العامة
MaxPoolGradV2
MaxPoolGradV2(
const ::tensorflow::Scope & scope,
::tensorflow::Input orig_input,
::tensorflow::Input orig_output,
::tensorflow::Input grad,
::tensorflow::Input ksize,
::tensorflow::Input strides,
StringPiece padding
)
MaxPoolGradV2
MaxPoolGradV2(
const ::tensorflow::Scope & scope,
::tensorflow::Input orig_input,
::tensorflow::Input orig_output,
::tensorflow::Input grad,
::tensorflow::Input ksize,
::tensorflow::Input strides,
StringPiece padding,
const MaxPoolGradV2::Attrs & attrs
)
العقدة
::tensorflow::Node * node() const
المشغل::tensorflow::الإدخال
operator::tensorflow::Input() const
المشغل::tensorflow::الإخراج
operator::tensorflow::Output() const
وظائف ثابتة العامة
تنسيق البيانات
Attrs DataFormat(
StringPiece x
)