From e8b954d6ec6454a71c2867eeddd27058e1be097d Mon Sep 17 00:00:00 2001 From: Steve Yoo Date: Fri, 28 Jan 2022 13:53:01 +0900 Subject: [PATCH] Add testcases of index type i32 for NonMaxSuppression (#9902) --- .../op_reference/non_max_suppression.cpp | 24 +++++++++---------- .../tests/functional/skip_tests_config.cpp | 8 ------- 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/docs/template_plugin/tests/functional/op_reference/non_max_suppression.cpp b/docs/template_plugin/tests/functional/op_reference/non_max_suppression.cpp index dfea18c74b3..f93611b361f 100644 --- a/docs/template_plugin/tests/functional/op_reference/non_max_suppression.cpp +++ b/docs/template_plugin/tests/functional/op_reference/non_max_suppression.cpp @@ -91,7 +91,8 @@ private: score_threshold, soft_nms_sigma, params.boxEncoding, - false); + false, + params.expectedSelectedIndices.type); const auto f = std::make_shared(nms->outputs(), ParameterVector{boxes, scores}); return f; } @@ -128,7 +129,8 @@ private: score_threshold, soft_nms_sigma, params.boxEncoding, - false); + false, + params.expectedSelectedIndices.type); const auto f = std::make_shared(nms->outputs(), ParameterVector{boxes, scores, max_output_boxes_per_class, iou_threshold, score_threshold, soft_nms_sigma}); @@ -549,7 +551,8 @@ private: iou_threshold, score_threshold, params.boxEncoding, - false); + false, + params.expectedSelectedIndices.type); const auto f = std::make_shared(nms->outputs(), ParameterVector{boxes, scores}); return f; } @@ -581,7 +584,8 @@ private: iou_threshold, score_threshold, params.boxEncoding, - false); + false, + params.expectedSelectedIndices.type); const auto f = std::make_shared(nms->outputs(), ParameterVector{boxes, scores, max_output_boxes_per_class, iou_threshold, score_threshold}); @@ -935,7 +939,8 @@ private: iou_threshold, score_threshold, params.boxEncoding, - false); + false, + params.expectedSelectedIndices.type); const auto f = std::make_shared(nms->outputs(), ParameterVector{boxes, scores}); return f; } @@ -967,7 +972,8 @@ private: iou_threshold, score_threshold, params.boxEncoding, - false); + false, + params.expectedSelectedIndices.type); const auto f = std::make_shared(nms->outputs(), ParameterVector{boxes, scores, max_output_boxes_per_class, iou_threshold, score_threshold}); @@ -1528,9 +1534,6 @@ std::vector generateParams1() { std::vector generateCombinedParams1() { const std::vector> generatedParams { - generateParams1(), - generateParams1(), - generateParams1(), generateParams1(), generateParams1(), generateParams1(), @@ -1576,9 +1579,6 @@ std::vector generateParams1WithoutConstants() { std::vector generateCombinedParams1WithoutConstants() { const std::vector> generatedParams { - generateParams1WithoutConstants(), - generateParams1WithoutConstants(), - generateParams1WithoutConstants(), generateParams1WithoutConstants(), generateParams1WithoutConstants(), generateParams1WithoutConstants(), diff --git a/docs/template_plugin/tests/functional/skip_tests_config.cpp b/docs/template_plugin/tests/functional/skip_tests_config.cpp index e4fe138563a..11fd047b816 100644 --- a/docs/template_plugin/tests/functional/skip_tests_config.cpp +++ b/docs/template_plugin/tests/functional/skip_tests_config.cpp @@ -100,14 +100,6 @@ std::vector disabledTestPatterns() { R"(.*ReferenceTopKTest.*aType=f64.*)", // CVS-63947 R"(.*ReferenceConcatTest.*concat_zero_.*)", - // CVS-64096 - R"(.*ReferenceNonMaxSuppressionTest.*esiType=i32.*evoType=i32.*)", - // CVS-64081 - R"(.*ReferenceNonMaxSuppression4Test.*esiType=i32.*)", - // CVS-64067 - R"(.*ReferenceNonMaxSuppression3Test.*esiType=i32.*)", - // CVS-64034 - R"(.*ReferenceNonMaxSuppression1Test.*esiType=i32.*)", // CVS-64102 R"(.*ReferenceExperimentalPGGLayerTest.*iType=bf16.*stride_x=(32|64).*)", // CVS-72215