تدفق التوتر:: العمليات:: ExtractVolumePatches

#include <array_ops.h>

قم باستخراج patches من input ووضعها في بُعد الإخراج "العمق".

ملخص

امتداد ثلاثي الأبعاد لـ extract_image_patches .

الحجج:

  • النطاق: كائن النطاق
  • الإدخال: موتر 5-D بالشكل [batch, in_planes, in_rows, in_cols, depth] .
  • ksizes: حجم النافذة المنزلقة لكل بُعد من أبعاد input .
  • الخطوات: 1-D من الطول 5. إلى أي مدى توجد مراكز رقعتين متتاليتين في input . يجب أن يكون: [1, stride_planes, stride_rows, stride_cols, 1] .
  • الحشو: نوع خوارزمية الحشو المستخدمة.

نحدد السمات المتعلقة بالحجم على النحو التالي:

      ksizes = [1, ksize_planes, ksize_rows, ksize_cols, 1]
      strides = [1, stride_planes, strides_rows, strides_cols, 1]

عائدات:

  • Output : موتر 5-D ذو شكل [batch, out_planes, out_rows, out_cols, ksize_planes * ksize_rows * ksize_cols * depth] يحتوي على بقع بحجم ksize_planes x ksize_rows x ksize_cols x depth متجه في البعد "العمق". لاحظ أن out_planes و out_rows و out_cols هي أبعاد تصحيحات الإخراج.

البنائين والمدمرين

ExtractVolumePatches (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const gtl::ArraySlice< int > & ksizes, const gtl::ArraySlice< int > & strides, StringPiece padding)

الصفات العامة

operation
patches

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

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

الصفات العامة

عملية

Operation operation

بقع

::tensorflow::Output patches

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

ExtractVolumePatches

 ExtractVolumePatches(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const gtl::ArraySlice< int > & ksizes,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

العقدة

::tensorflow::Node * node() const 

المشغل::tensorflow::الإدخال

 operator::tensorflow::Input() const 

المشغل::tensorflow::الإخراج

 operator::tensorflow::Output() const