13 #include "compute/tensor_operations.h" 22 PoolingLayer(
op::Operation<T> *input,
const std::vector<unsigned int>& filter_shape={2, 2},
const std::vector<unsigned int>& padding={0,0},
23 const std::vector<unsigned int>& strides={1,1}, pooling_mode mode = MAX_POOL,
bool propagate_nan=
false);
27 virtual std::vector<op::Operation<T> *> get_weights();
34 int filter_h, filter_w, pad_h, pad_w, stride_h, stride_w;
50 const std::vector<unsigned int>& strides={1,1}, pooling_mode mode = MAX_POOL,
bool propagate_nan=
false);
55 const std::vector<unsigned int>& strides={1,1}, pooling_mode mode = MAX_POOL,
bool propagate_nan=
false);
Definition: poolinglayer.h:20
Definition: operation.h:18