تدفق التوتر:: العمليات:: MaxPoolGradGradWithArgmax
#include <nn_ops.h>
يحسب التدرجات من الدرجة الثانية لوظيفة maxpooling.
ملخص
الحجج:
- النطاق: كائن النطاق
- الإدخال: الإدخال الأصلي.
- التدرج: 4-D بالشكل
[batch, height, width, channels]
. التدرجات تكتب مدخلاتmax_pool
. - argmax: مؤشرات القيم القصوى المختارة لكل مخرج من
max_pool
. - ksize: حجم النافذة لكل بعد من موتر الإدخال.
- الخطوات: خطوة النافذة المنزلقة لكل بُعد من موتر الإدخال.
- الحشو: نوع خوارزمية الحشو المستخدمة.
السمات الاختيارية (انظر Attrs
):
- include_batch_in_index: ما إذا كان سيتم تضمين أبعاد الدُفعة في فهرس
argmax
المسطح.
العوائد:
-
Output
: تدرجات التدرجات تكتب مدخلاتmax_pool
.
البنائين والمدمرين | |
---|---|
MaxPoolGradGradWithArgmax (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input grad, :: tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
MaxPoolGradGradWithArgmax (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input grad, :: tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPoolGradGradWithArgmax::Attrs & attrs) |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة العامة | |
---|---|
IncludeBatchInIndex (bool x) |
الهياكل | |
---|---|
Tensorflow:: ops:: MaxPoolGradGradWithArgmax:: Attrs | محددات السمات الاختيارية لـ MaxPoolGradGradWithArgmax . |
الصفات العامة
عملية
Operation operation
الإخراج
::tensorflow::Output output
الوظائف العامة
MaxPoolGradGradWithArgmax
MaxPoolGradGradWithArgmax(
const ::tensorflow::Scope & scope,
::tensorflow::Input input,
::tensorflow::Input grad,
::tensorflow::Input argmax,
const gtl::ArraySlice< int > & ksize,
const gtl::ArraySlice< int > & strides,
StringPiece padding
)
MaxPoolGradGradWithArgmax
MaxPoolGradGradWithArgmax(
const ::tensorflow::Scope & scope,
::tensorflow::Input input,
::tensorflow::Input grad,
::tensorflow::Input argmax,
const gtl::ArraySlice< int > & ksize,
const gtl::ArraySlice< int > & strides,
StringPiece padding,
const MaxPoolGradGradWithArgmax::Attrs & attrs
)
العقدة
::tensorflow::Node * node() const
المشغل::tensorflow::الإدخال
operator::tensorflow::Input() const
المشغل::tensorflow::الإخراج
operator::tensorflow::Output() const
وظائف ثابتة العامة
تضمينBatchInIndex
Attrs IncludeBatchInIndex(
bool x
)