tensorflow::ops::MaxPoolGradGradWithArgmax
#include <nn_ops.h>Tính toán đạo hàm bậc hai của hàm maxpooling.
Bản tóm tắt
Luận điểm:
- phạm vi: Một đối tượng Phạm vi
- Đầu vào: Dữ liệu đầu vào ban đầu.
- grad: 4 chiều với hình dạng
[batch, height, width, channels]. Độ dốc đối với đầu vào củamax_pool. - argmax: Chỉ số của các giá trị tối đa được chọn cho mỗi đầu ra của
max_pool. - ksize: Kích thước cửa sổ cho mỗi chiều của tensor đầu vào.
- strides: Bước nhảy của cửa sổ trượt cho mỗi chiều của tensor đầu vào.
- 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 ):
- include_batch_in_index: Có bao gồm chiều batch trong chỉ mục được làm phẳng của
argmaxhay không.
Trả về:
-
Output: Độ dốc của độ dốc đối với đầu vào củamax_pool.
Hàm khởi tạo và hàm hủy | |
|---|---|
MaxPoolGradGradWithArgmax (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input grad, :: tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
MaxPoolGradGradWithArgmax (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input grad, :: tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPoolGradGradWithArgmax::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 | |
|---|---|
IncludeBatchInIndex (bool x) | |
Cấu trúc | |
|---|---|
| tensorflow::ops::MaxPoolGradGradWithArgmax::Attrs | Các thiết lập thuộc tính tùy chọn cho MaxPoolGradGradWithArgmax . |
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
MaxPoolGradGradWithArgmax
MaxPoolGradGradWithArgmax( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input grad, ::tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding )
MaxPoolGradGradWithArgmax
MaxPoolGradGradWithArgmax( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input grad, ::tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPoolGradGradWithArgmax::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
IncludeBatchInIndex
Attrs IncludeBatchInIndex( bool x )