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

#include <array_ops.h>

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

ملخص

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

الحجج:

  • النطاق: كائن النطاق
  • الإدخال: 5-D Tensor مع الشكل [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 Tensor مع الشكل [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 :: Output

 operator::tensorflow::Output() const