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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user