mirror of
https://github.com/opencv/opencv.git
synced 2025-07-22 20:39:41 +08:00
Align DLIE and nGraph average pooling layers
This commit is contained in:
parent
43ff8f8e8d
commit
870a775d7d
@ -325,7 +325,7 @@ public:
|
|||||||
ieLayer.setRoundingType(ceilMode ?
|
ieLayer.setRoundingType(ceilMode ?
|
||||||
InferenceEngine::Builder::PoolingLayer::RoundingType::CEIL :
|
InferenceEngine::Builder::PoolingLayer::RoundingType::CEIL :
|
||||||
InferenceEngine::Builder::PoolingLayer::RoundingType::FLOOR);
|
InferenceEngine::Builder::PoolingLayer::RoundingType::FLOOR);
|
||||||
ieLayer.setExcludePad(type == AVE && padMode == "SAME");
|
ieLayer.setExcludePad(!avePoolPaddedArea);
|
||||||
|
|
||||||
InferenceEngine::Builder::Layer l = ieLayer;
|
InferenceEngine::Builder::Layer l = ieLayer;
|
||||||
if (!padMode.empty())
|
if (!padMode.empty())
|
||||||
|
Loading…
Reference in New Issue
Block a user