Merge pull request #17060 from dkurt:dnn_align_ie_pool

pull/17071/head
Alexander Alekhin 5 years ago
commit f6de25b6cb
  1. 2
      modules/dnn/src/layers/pooling_layer.cpp

@ -325,7 +325,7 @@ public:
ieLayer.setRoundingType(ceilMode ?
InferenceEngine::Builder::PoolingLayer::RoundingType::CEIL :
InferenceEngine::Builder::PoolingLayer::RoundingType::FLOOR);
ieLayer.setExcludePad(type == AVE && padMode == "SAME");
ieLayer.setExcludePad(!avePoolPaddedArea);
InferenceEngine::Builder::Layer l = ieLayer;
if (!padMode.empty())

Loading…
Cancel
Save