Added split test into template plugin (#1669)

* Added split test into template plugin

* Fixed split test

* Fixed test parameters style
This commit is contained in:
Anton Pankratv
2020-08-15 14:44:13 +03:00
committed by GitHub
parent f01a321bba
commit bfedee88b2
3 changed files with 25 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
// Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#include <vector>
#include "single_layer_tests/split.hpp"
#include "common_test_utils/test_constants.hpp"
using namespace LayerTestsDefinitions;
namespace {
INSTANTIATE_TEST_CASE_P(NumSplitsCheck, SplitLayerTest,
::testing::Combine(
::testing::Values(1, 2, 3, 5, 6, 10, 30),
::testing::Values(0, 1, 2, 3),
::testing::Values(InferenceEngine::Precision::FP32),
::testing::Values(std::vector<size_t >({30, 30, 30, 30})),
::testing::Values("TEMPLATE")),
SplitLayerTest::getTestCaseName);
} // namespace

View File

@@ -12,6 +12,7 @@ std::vector<std::string> disabledTestPatterns() {
".*ExclusiveAsyncRequests.*",
".*reusableCPUStreamsExecutor.*",
".*registerPlugin.*",
".*IEClassGetAvailableDevices.*"
".*IEClassGetAvailableDevices.*",
R"(.*SplitLayerTest.*numSplits\=30.*)"
};
}