[VPU] Enable CheckTensorPrecision tests (#10390)

Enable CheckTensorPrecision tests for the myriad plugin.
-75944
This commit is contained in:
Anton Dudchenko
2022-02-16 13:06:13 +03:00
committed by GitHub
parent ba69bae055
commit 483b3828ca
2 changed files with 35 additions and 0 deletions

View File

@@ -79,4 +79,26 @@ INSTANTIATE_TEST_SUITE_P(smoke_Auto_BehaviorTests, OVInferRequestIOTensorSetPrec
::testing::ValuesIn(Autoconfigs)),
OVInferRequestIOTensorSetPrecisionTest::getTestCaseName);
INSTANTIATE_TEST_SUITE_P(smoke_BehaviorTests, OVInferRequestCheckTensorPrecision,
::testing::Combine(
::testing::ValuesIn(prcs),
::testing::Values(CommonTestUtils::DEVICE_MYRIAD),
::testing::ValuesIn(configs)),
OVInferRequestCheckTensorPrecision::getTestCaseName);
INSTANTIATE_TEST_SUITE_P(smoke_Multi_BehaviorTests, OVInferRequestCheckTensorPrecision,
::testing::Combine(
::testing::ValuesIn(prcs),
::testing::Values(CommonTestUtils::DEVICE_MULTI),
::testing::ValuesIn(Multiconfigs)),
OVInferRequestCheckTensorPrecision::getTestCaseName);
INSTANTIATE_TEST_SUITE_P(smoke_Auto_BehaviorTests, OVInferRequestCheckTensorPrecision,
::testing::Combine(
::testing::ValuesIn(prcs),
::testing::Values(CommonTestUtils::DEVICE_AUTO),
::testing::ValuesIn(Autoconfigs)),
OVInferRequestCheckTensorPrecision::getTestCaseName);
} // namespace

View File

@@ -69,5 +69,18 @@ std::vector<std::string> disabledTestPatterns() {
R"(.*EltwiseLayerTest.*OpType=SqDiff.*PARAMETER.*SCALAR.*)",
R"(.*EltwiseLayerTest.*TS=\(\(16\.16\.96\)_\(96\)_\).*OpType=SqDiff.*)",
R"(.*EltwiseLayerTest.*TS=\(\(52\.1\.52\.3\.2\)_\(2\)_\).*OpType=SqDiff.*)",
// Tests with unsupported precision
".*InferRequestCheckTensorPrecision.*type=boolean.*",
".*InferRequestCheckTensorPrecision.*type=bf16.*",
".*InferRequestCheckTensorPrecision.*type=f64.*",
".*InferRequestCheckTensorPrecision.*type=i4.*",
".*InferRequestCheckTensorPrecision.*type=i16.*",
".*InferRequestCheckTensorPrecision.*type=i64.*",
".*InferRequestCheckTensorPrecision.*type=u1.*",
".*InferRequestCheckTensorPrecision.*type=u4.*",
".*InferRequestCheckTensorPrecision.*type=u8.*",
".*InferRequestCheckTensorPrecision.*type=u16.*",
".*InferRequestCheckTensorPrecision.*type=u64.*",
};
}