dòng chảy :: hoạt động :: MaxPoolGradGradWithArgmax
#include <nn_ops.h>
Tính toán gradient bậc hai của hàm maxpooling.
Tóm lược
Tranh luận:
- phạm vi: Một đối tượng Phạm vi
- input: Đầu vào ban đầu.
- grad: 4-D với hình dạng
[batch, height, width, channels]
. Gradients wrt đầu vào củamax_pool
. - argmax: Chỉ số của các giá trị lớn nhất được chọn cho mỗi đầu ra của
max_pool
. - ksize: Kích thước của cửa sổ cho mỗi kích thước của tensor đầu vào.
- sải bước: Sải bước của cửa sổ trượt đối với mỗi kích thước của bộ căng đầu vào.
- padding: Loại thuật toán đệm sẽ sử dụng.
Các thuộc tính tùy chọn (xem Phần Attrs
):
- include_batch_in_index: Có đưa thứ nguyên lô vào chỉ mục làm phẳng của
argmax
.
Lợi nhuận:
-
Output
: Gradients of gradient wrt đầu vào củamax_pool
.
Người xây dựng và Người phá 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 chức năng tĩnh công khai | |
---|---|
IncludeBatchInIndex (bool x) |
Cấu trúc | |
---|---|
tensorflow :: ops :: MaxPoolGradGradWithArgmax :: Attrs | Bộ 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
toán tử :: tensorflow :: Đầu vào
operator::tensorflow::Input() const
toán tử :: tensorflow :: Đầu ra
operator::tensorflow::Output() const
Các chức năng tĩnh công khai
Bao gồmBatchInIndex
Attrs IncludeBatchInIndex( bool x )