tensorflow::ops::ExtractVolumePatches

#include <array_ops.h>

แยก patches ย่อยจาก input และนำไปใส่ในมิติเอาต์พุต "ความลึก"

สรุป

ส่วนขยาย 3 มิติของ extract_image_patches

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • อินพุต: เทนเซอร์ 5 มิติที่มีรูปร่าง [batch, in_planes, in_rows, in_cols, depth]
  • ksizes: ขนาดของหน้าต่างเลื่อนสำหรับแต่ละมิติของ input
  • strides: มิติเดียว ความยาว 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 มิติที่มีรูปร่าง [batch, out_planes, out_rows, out_cols, ksize_planes * ksize_rows * ksize_cols * depth] ซึ่งประกอบด้วยแพทช์ขนาด ksize_planes x ksize_rows x ksize_cols x depth ที่ถูกแปลงเป็นเวกเตอร์ในมิติ "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(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const gtl::ArraySlice< int > & ksizes,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

โหนด

::tensorflow::Node * node() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต

 operator::tensorflow::Input() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต

 operator::tensorflow::Output() const