1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

ROIPooling layer

This commit is contained in:
Dmitry Kurtaev
2017-12-04 18:45:30 +03:00
parent fc9e031454
commit 17dcf0e82d
7 changed files with 1299 additions and 395 deletions
@@ -242,7 +242,8 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN
{
MAX,
AVE,
STOCHASTIC
STOCHASTIC,
ROI
};
int type;
@@ -251,6 +252,9 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN
bool computeMaxIdx;
String padMode;
bool ceilMode;
// ROIPooling parameters.
Size pooledSize;
float spatialScale;
static Ptr<PoolingLayer> create(const LayerParams& params);
};