19 #include "pooling.hpp" 20 #include "../C/roi_pooling.h" 21 #include "primitive.hpp" 50 , pooled_width(pooled_width)
51 , pooled_height(pooled_height)
52 , spatial_scale(spatial_scale)
58 , mode(static_cast<pooling_mode>(
dto->
mode))
72 void update_dto(
dto&
dto)
const override 74 dto.
mode =
static_cast<int32_t
>(mode);
int pooled_height
Output height.
Represents data padding information.
float spatial_scale
Ratio of the coordinates used in RoIs to the width (and height) of the input data.
int group_sz
Group size as defined by PSRoIPooling when > 0, else if 0 means regular RoIPooling.
int32_t mode
Pooling method. See cldnn_pooling_mode.
pooling_mode
Select method for the pooling layer.
std::string primitive_id
Unique id of a primitive within a topology.
int pooled_width
Output width.
base class for all primitives implementations.
padding output_padding
Requested output padding.