dòng chảy căng:: ôi:: Trích xuấtKhối lượngBản vá

#include <array_ops.h>

Trích xuất patches từ input và đặt chúng vào chiều đầu ra "độ sâu".

Bản tóm tắt

Phần mở rộng 3D của extract_image_patches .

Tranh luận:

  • phạm vi: Một đối tượng Phạm vi
  • đầu vào: Tensor 5-D có hình dạng [batch, in_planes, in_rows, in_cols, depth] .
  • ksizes: Kích thước của cửa sổ trượt cho từng chiều của input .
  • bước tiến: 1-D có chiều dài 5. Khoảng cách giữa tâm của hai miếng vá liên tiếp được input . Phải là: [1, stride_planes, stride_rows, stride_cols, 1] .
  • phần đệm: Loại thuật toán đệm sẽ sử dụng.

Chúng tôi chỉ định các thuộc tính liên quan đến kích thước là:

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

Trả về:

  • Output : Tensor 5-D có hình dạng [batch, out_planes, out_rows, out_cols, ksize_planes * ksize_rows * ksize_cols * depth] chứa các bản vá có kích thước ksize_planes x ksize_rows x ksize_cols x depth được vector hóa theo chiều "độ sâu". Lưu ý out_planes , out_rowsout_cols là kích thước của các bản vá đầu ra.

Hàm tạo và hàm hủy

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

Thuộc tính công khai

operation
patches

Chức năng công cộng

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

Thuộc tính công khai

hoạt động

Operation operation

bản vá lỗi

::tensorflow::Output patches

Chức năng công cộng

Trích xuấtKhối lượngBản vá

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

nút

::tensorflow::Node * node() const 

toán tử::tenorflow::Đầu vào

 operator::tensorflow::Input() const 

toán tử::tenorflow::Đầu ra

 operator::tensorflow::Output() const