نشكرك على متابعة Google I / O. عرض جميع الجلسات عند الطلب مشاهدة عند الطلب

تينسورفلو :: العمليات :: MaxPoolGradGradWithArgmax

#include <nn_ops.h>

يحسب التدرجات من الدرجة الثانية لوظيفة maxpooling.

ملخص

الحجج:

  • النطاق: كائن النطاق
  • الإدخال: الإدخال الأصلي.
  • غراد: 4-D مع الشكل [batch, height, width, channels] . max_pool التدرجات مدخلات max_pool .
  • argmax: مؤشرات القيم القصوى المختارة لكل ناتج من max_pool .
  • ksize: حجم النافذة لكل بُعد من أبعاد موتر الإدخال.
  • strides: خطوة النافذة المنزلقة لكل بعد من أبعاد موتر الإدخال.
  • المساحة المتروكة: نوع خوارزمية الحشو المطلوب استخدامها.

السمات الاختيارية (انظر 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)

السمات العامة

operation
output

الوظائف العامة

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 :: Output

 operator::tensorflow::Output() const 

وظائف ثابتة عامة

IncludeBatchInIndex

Attrs IncludeBatchInIndex(
  bool x
)