diff --git a/inference-engine/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/pad.cpp b/inference-engine/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/pad.cpp index fb975e808c6..bc24764dfe4 100644 --- a/inference-engine/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/pad.cpp +++ b/inference-engine/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/pad.cpp @@ -14,8 +14,8 @@ const std::vector netPrecisions = { InferenceEngine::Precision::FP16 }; -const std::vector> padsBegin2D = {{0, 0}, {1, 1}, {2, 0}, {0, 3}}; -const std::vector> padsEnd2D = {{0, 0}, {1, 1}, {0, 1}, {3, 2}}; +const std::vector> padsBegin2D = {{0, 0}, {1, 1}, {2, 0}, {0, 3}}; +const std::vector> padsEnd2D = {{0, 0}, {1, 1}, {0, 1}, {3, 2}}; const std::vector argPadValue = {0.f, 1.f, 2.f, -1.f}; const std::vector padMode = { @@ -57,8 +57,8 @@ INSTANTIATE_TEST_CASE_P( PadLayerTest::getTestCaseName ); -const std::vector> padsBegin4D = {{0, 0, 0, 0}, {1, 1, 1, 1}, {2, 0, 1, 0}, {0, 3, 0, 1}}; -const std::vector> padsEnd4D = {{0, 0, 0, 0}, {1, 1, 1, 1}, {2, 0, 0, 1}, {1, 3, 2, 0}}; +const std::vector> padsBegin4D = {{0, 0, 0, 0}, {1, 1, 1, 1}, {2, 0, 1, 0}, {0, 3, 0, 1}}; +const std::vector> padsEnd4D = {{0, 0, 0, 0}, {1, 1, 1, 1}, {2, 0, 0, 1}, {1, 3, 2, 0}}; const auto pad4DConstparams = testing::Combine( testing::ValuesIn(padsBegin4D), diff --git a/inference-engine/tests/functional/plugin/shared/include/single_layer_tests/pad.hpp b/inference-engine/tests/functional/plugin/shared/include/single_layer_tests/pad.hpp index 117392660b0..b31f1b172d3 100644 --- a/inference-engine/tests/functional/plugin/shared/include/single_layer_tests/pad.hpp +++ b/inference-engine/tests/functional/plugin/shared/include/single_layer_tests/pad.hpp @@ -13,8 +13,8 @@ #include "ngraph_functions/builders.hpp" typedef std::tuple< - InferenceEngine::SizeVector, // padsBegin - InferenceEngine::SizeVector, // padsEnd + std::vector, // padsBegin + std::vector, // padsEnd float, // argPadValue ngraph::helpers::PadMode, // padMode InferenceEngine::Precision, // Net precision diff --git a/inference-engine/tests/functional/plugin/shared/src/single_layer_tests/pad.cpp b/inference-engine/tests/functional/plugin/shared/src/single_layer_tests/pad.cpp index 96855904e93..98fb6121645 100644 --- a/inference-engine/tests/functional/plugin/shared/src/single_layer_tests/pad.cpp +++ b/inference-engine/tests/functional/plugin/shared/src/single_layer_tests/pad.cpp @@ -15,7 +15,8 @@ namespace LayerTestsDefinitions { std::string PadLayerTest::getTestCaseName(testing::TestParamInfo obj) { InferenceEngine::Precision netPrecision; - InferenceEngine::SizeVector inputShapes, padsBegin, padsEnd; + InferenceEngine::SizeVector inputShapes; + std::vector padsBegin, padsEnd; ngraph::helpers::PadMode padMode; float argPadValue; std::string targetDevice; @@ -35,7 +36,8 @@ std::string PadLayerTest::getTestCaseName(testing::TestParamInfo padsBegin, padsEnd; float argPadValue; ngraph::helpers::PadMode padMode; InferenceEngine::Precision netPrecision; diff --git a/inference-engine/tests/ngraph_functions/include/ngraph_functions/builders.hpp b/inference-engine/tests/ngraph_functions/include/ngraph_functions/builders.hpp index ee0e1f0142f..12b20cccdea 100644 --- a/inference-engine/tests/ngraph_functions/include/ngraph_functions/builders.hpp +++ b/inference-engine/tests/ngraph_functions/include/ngraph_functions/builders.hpp @@ -385,8 +385,8 @@ std::shared_ptr makeConcat(const std::vector> const int& axis); std::shared_ptr makePad(const ngraph::Output& data, - const std::vector& padsBegin, - const std::vector& padsEnd, + const std::vector& padsBegin, + const std::vector& padsEnd, float argPadValue, ngraph::helpers::PadMode padMode); diff --git a/inference-engine/tests/ngraph_functions/src/pad.cpp b/inference-engine/tests/ngraph_functions/src/pad.cpp index 3ea39c58d02..89a6469cfec 100644 --- a/inference-engine/tests/ngraph_functions/src/pad.cpp +++ b/inference-engine/tests/ngraph_functions/src/pad.cpp @@ -10,8 +10,8 @@ namespace ngraph { namespace builder { std::shared_ptr makePad(const ngraph::Output& data, - const std::vector& padsBegin, - const std::vector& padsEnd, + const std::vector& padsBegin, + const std::vector& padsEnd, float argPadValue, ngraph::helpers::PadMode padMode) { ngraph::op::PadMode pad_mode;