tensorflow::ops::MaxPool3D
#include <nn_ops.h>Thực hiện phép gộp 3D tối đa trên dữ liệu đầu vào.
Bản tóm tắt
Luận điểm:
- phạm vi: Một đối tượng Phạm vi
- Đầu vào: Tensor có hình dạng
[batch, depth, rows, cols, channels]để thực hiện phép gộp. - ksize: Tensor 1 chiều có độ dài 5. Kích thước của cửa sổ cho mỗi chiều của tensor đầu vào. Phải có
ksize[0] = ksize[4] = 1. - strides: Tensor 1 chiều có độ dài 5. Bước nhảy của cửa sổ trượt cho mỗi chiều của
input. Phải cóstrides[0] = strides[4] = 1. - padding: Loại thuật toán đệm cần sử dụng.
Các thuộc tính tùy chọn (xem Attrs ):
- data_format: Định dạng dữ liệu đầu vào và đầu ra. Với định dạng mặc định "NDHWC", dữ liệu được lưu trữ theo thứ tự: [batch, in_depth, in_height, in_width, in_channels]. Hoặc, định dạng có thể là "NCDHW", thứ tự lưu trữ dữ liệu là: [batch, in_channels, in_depth, in_height, in_width].
Trả về:
-
Output: Tensor đầu ra được gộp tối đa.
Hàm khởi tạo và hàm hủy | |
|---|---|
MaxPool3D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
MaxPool3D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPool3D::Attrs & attrs) |
Thuộc tính công khai | |
|---|---|
operation | |
output | |
Chức năng công cộng | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Các hàm tĩnh công khai | |
|---|---|
DataFormat (StringPiece x) | |
Cấu trúc | |
|---|---|
| tensorflow::ops::MaxPool3D::Attrs | Các thiết lập thuộc tính tùy chọn cho MaxPool3D . |
Thuộc tính công khai
hoạt động
Operation operation
đầu ra
::tensorflow::Output output
Chức năng công cộng
MaxPool3D
MaxPool3D( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding )
MaxPool3D
MaxPool3D( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPool3D::Attrs & attrs )
nút
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Các hàm tĩnh công khai
Định dạng dữ liệu
Attrs DataFormat( StringPiece x )