From 9913c487c0448474f826582e4dd193a61f1e80c0 Mon Sep 17 00:00:00 2001 From: Sergey Shlyapnikov Date: Wed, 20 Mar 2024 10:49:47 +0400 Subject: [PATCH] Fix tests compilation issue --- .../unit/transformations/convert_fc_to_compressed_test.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/plugins/intel_gpu/tests/unit/transformations/convert_fc_to_compressed_test.cpp b/src/plugins/intel_gpu/tests/unit/transformations/convert_fc_to_compressed_test.cpp index 70f5a45b25aef4..12398c8221f4b7 100644 --- a/src/plugins/intel_gpu/tests/unit/transformations/convert_fc_to_compressed_test.cpp +++ b/src/plugins/intel_gpu/tests/unit/transformations/convert_fc_to_compressed_test.cpp @@ -411,7 +411,8 @@ TEST_F(TransformationTestsF, ConvertFCToCompressed9) { auto sub = std::make_shared(convert, zp_convert); auto scale_const = ov::op::v0::Constant::create(ov::element::f16, ov::Shape{ 32, 1 }, { 1 }); auto scale = std::make_shared(sub, scale_const); - auto fc = std::make_shared(input1, scale); + auto no_bias = std::make_shared(); + auto fc = std::make_shared(input1, scale, no_bias); model = std::make_shared(ov::NodeVector{ fc }, ov::ParameterVector{ input1 }); manager.register_pass(); @@ -421,7 +422,8 @@ TEST_F(TransformationTestsF, ConvertFCToCompressed9) { auto weights_const = ov::op::v0::Constant::create(ov::element::u8, ov::Shape{ 32, 16 }, { 1 }); auto scale_const = ov::op::v0::Constant::create(ov::element::f16, ov::Shape{ 32, 1 }, { 1 }); auto zp_const = ov::op::v0::Constant::create(ov::element::u8, ov::Shape{ 32, 1 }, { 1 }); - auto fc_compressed = std::make_shared(input1, weights_const, scale_const, zp_const); + auto no_bias = std::make_shared(); + auto fc_compressed = std::make_shared(input1, weights_const, no_bias, scale_const, zp_const); model_ref = std::make_shared(ov::NodeVector{ fc_compressed }, ov::ParameterVector{ input1 }); }