Fixed i420 tests (#14390)

* Fixed i420 tests

* Disable GPU i420 tests
This commit is contained in:
Ilya Churaev authored and GitHub committed 2022-12-05 13:13:26 +00:00
1 parent 67d25d7099
commit 8c3425ff69
2 files changed
+3 -2

No files matched your search

@@ -127,5 +127,6 @@ std::vector<std::string> disabledTestPatterns() {
R"(.*smoke_GroupConvolution1D_ExplicitPadding_Disabled.*)",
R"(.*smoke_GroupConvolutionLayerGPUTest_dynamic1DSymPad_Disabled.*)",
R"(.*smoke_ConvolutionLayerGPUTest_dynamic1DSymPad.*)",
R"(.*TestsConvertColorI420.*)",
};
}
@@ -35,9 +35,9 @@ void ConvertColorI420LayerTest::SetUp() {
auto param = std::make_shared<ov::op::v0::Parameter>(ngPrc, inputShape);
std::shared_ptr<ov::Node> convert_color;
if (conversionToRGB) {
convert_color = std::make_shared<ov::op::v8::NV12toRGB>(param);
convert_color = std::make_shared<ov::op::v8::I420toRGB>(param);
} else {
convert_color = std::make_shared<ov::op::v8::NV12toBGR>(param);
convert_color = std::make_shared<ov::op::v8::I420toBGR>(param);
}
function = std::make_shared<ov::Model>(std::make_shared<ov::op::v0::Result>(convert_color),
ov::ParameterVector{param}, "ConvertColorI420");