tensorflow::ops::ExtractVolumePatches
#include <array_ops.h> Trích xuất patches từ input và đưa chúng vào chiều đầu ra "độ sâu".
Bản tóm tắt
Mở rộng 3D của extract_image_patches .
Luận điểm:
- phạm vi: Một đối tượng Phạm vi
- Đầu vào: Tensor 5 chiều với 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 mỗi chiều dữ
input. - strides: 1 chiều có độ dài 5. Khoảng cách giữa tâm của hai mảng liên tiếp trong
input. Phải là:[1, stride_planes, stride_rows, stride_cols, 1]. - padding: Loại thuật toán đệm cần sử dụng.
Chúng tôi xác định các thuộc tính liên quan đến kích thước như sau:
ksizes = [1, ksize_planes, ksize_rows, ksize_cols, 1]
strides = [1, stride_planes, strides_rows, strides_cols, 1]Trả về:
-
Output: Tensor 5 chiều có hình dạng[batch, out_planes, out_rows, out_cols, ksize_planes * ksize_rows * ksize_cols * depth]chứa các mảng có kích thướcksize_planes x ksize_rows x ksize_cols x depthđược vector hóa theo chiều "depth". Lưu ýout_planes,out_rowsvàout_colslà kích thước của các mảng đầu ra.
Hàm khởi 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
các bản vá
::tensorflow::Output patches
Chức năng công cộng
ExtractVolumePatches
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
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const