เทนเซอร์โฟลว์:: ปฏิบัติการ:: แยก VolumePatches

#include <array_ops.h>

แยก patches จาก input และวางไว้ในมิติเอาต์พุต "เชิงลึก"

สรุป

ส่วนขยาย 3 มิติของ 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]
  • padding: ประเภทของอัลกอริธึมการเติมที่จะใช้

เราระบุแอตทริบิวต์ที่เกี่ยวข้องกับขนาดเป็น:

      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 vectorized ในมิติ "ความลึก" หมายเหตุ 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

งานสาธารณะ

แยก VolumePatches

 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