تدفق التوتر:: العمليات:: MaxPool3DGrad
#include <nn_ops.h>
يحسب التدرجات من وظيفة التجميع القصوى.
ملخص
الحجج:
- النطاق: كائن النطاق
- orig_input: موتر الإدخال الأصلي.
- orig_output: موتر الإخراج الأصلي.
- grad: شكل خلفي للإخراج
[batch, depth, rows, cols, channels]
. - ksize: موتر 1-D بطول 5. حجم النافذة لكل بعد من موتر الإدخال. يجب أن يكون
ksize[0] = ksize[4] = 1
. - الخطوات: موتر 1-D بطول 5. خطوة النافذة المنزلقة لكل بُعد من أبعاد
input
. يجب أن يكون هناكstrides[0] = strides[4] = 1
. - الحشو: نوع خوارزمية الحشو المستخدمة.
السمات الاختيارية (انظر Attrs
):
- data_format: تنسيق البيانات لبيانات الإدخال والإخراج. باستخدام التنسيق الافتراضي "NDHWC"، يتم تخزين البيانات بالترتيب التالي: [دُفعة، عمق، ارتفاع، عرض، قنوات]. وبدلاً من ذلك، يمكن أن يكون التنسيق "NCDHW"، وترتيب تخزين البيانات هو: [batch, in_channels, in_ Deep, in_height, in_width].
العوائد:
-
Output
: موتر الإخراج.
البنائين والمدمرين | |
---|---|
MaxPool3DGrad (const :: tensorflow::Scope & scope, :: tensorflow::Input orig_input, :: tensorflow::Input orig_output, :: tensorflow::Input grad, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
MaxPool3DGrad (const :: tensorflow::Scope & scope, :: tensorflow::Input orig_input, :: tensorflow::Input orig_output, :: tensorflow::Input grad, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPool3DGrad::Attrs & attrs) |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة العامة | |
---|---|
DataFormat (StringPiece x) |
الهياكل | |
---|---|
Tensorflow:: ops:: MaxPool3DGrad:: Attrs | محددات السمات الاختيارية لـ MaxPool3DGrad . |
الصفات العامة
عملية
Operation operation
الإخراج
::tensorflow::Output output
الوظائف العامة
MaxPool3DGrad
MaxPool3DGrad(
const ::tensorflow::Scope & scope,
::tensorflow::Input orig_input,
::tensorflow::Input orig_output,
::tensorflow::Input grad,
const gtl::ArraySlice< int > & ksize,
const gtl::ArraySlice< int > & strides,
StringPiece padding
)
MaxPool3DGrad
MaxPool3DGrad(
const ::tensorflow::Scope & scope,
::tensorflow::Input orig_input,
::tensorflow::Input orig_output,
::tensorflow::Input grad,
const gtl::ArraySlice< int > & ksize,
const gtl::ArraySlice< int > & strides,
StringPiece padding,
const MaxPool3DGrad::Attrs & attrs
)
العقدة
::tensorflow::Node * node() const
المشغل::tensorflow::الإدخال
operator::tensorflow::Input() const
المشغل::tensorflow::الإخراج
operator::tensorflow::Output() const
وظائف ثابتة العامة
تنسيق البيانات
Attrs DataFormat(
StringPiece x
)