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

Add a flag to manage average pooling with padding

This commit is contained in:
Dmitry Kurtaev
2018-02-14 16:56:31 +03:00
parent 252e871a8b
commit f8d0d6365e
5 changed files with 44 additions and 8 deletions
@@ -239,6 +239,10 @@ CV__DNN_EXPERIMENTAL_NS_BEGIN
bool computeMaxIdx;
String padMode;
bool ceilMode;
// If true for average pooling with padding, divide an every output region
// by a whole kernel area. Otherwise exclude zero padded values and divide
// by number of real values.
bool avePoolPaddedArea;
// ROIPooling parameters.
Size pooledSize;
float spatialScale;