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

تينسورفلو :: العمليات :: ماكسبولجرادف 2

#include <nn_ops.h>

يحسب تدرجات دالة maxpooling.

ملخص

الحجج:

  • النطاق: كائن النطاق
  • Orig_input: موتر الإدخال الأصلي.
  • Orig_output: موتر الإخراج الأصلي.
  • غراد: 4-D. max_pool التدرجات إخراج max_pool .
  • ksize: حجم النافذة لكل بُعد من أبعاد موتر الإدخال.
  • strides: خطوة النافذة المنزلقة لكل بعد من أبعاد موتر الإدخال.
  • المساحة المتروكة: نوع خوارزمية الحشو المراد استخدامها.

السمات الاختيارية (انظر Attrs ):

  • data_format: حدد تنسيق البيانات لبيانات الإدخال والإخراج. باستخدام التنسيق الافتراضي "NHWC" ، يتم تخزين البيانات بالترتيب التالي: [الدُفعة ، in_height ، in_width ، in_channels]. بدلاً من ذلك ، يمكن أن يكون التنسيق "NCHW" ، ترتيب تخزين البيانات لـ: [دُفعة ، داخل قنوات ، داخل_ارتفاع ، عرض_داخل]

عائدات:

  • Output : max_pool التدرجات الإدخال إلى 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)

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

operation
output

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

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

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

ماكسبولجرادف 2

 MaxPoolGradV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input orig_input,
  ::tensorflow::Input orig_output,
  ::tensorflow::Input grad,
  ::tensorflow::Input ksize,
  ::tensorflow::Input strides,
  StringPiece padding
)

ماكسبولجرادف 2

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

 operator::tensorflow::Output() const 

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

تنسيق البيانات

Attrs DataFormat(
  StringPiece x
)