Skip to content

Commit 9913c48

Browse files
committed
Fix tests compilation issue
1 parent 1b0fc33 commit 9913c48

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/plugins/intel_gpu/tests/unit/transformations/convert_fc_to_compressed_test.cpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,8 @@ TEST_F(TransformationTestsF, ConvertFCToCompressed9) {
411411
auto sub = std::make_shared<ov::op::v1::Subtract>(convert, zp_convert);
412412
auto scale_const = ov::op::v0::Constant::create(ov::element::f16, ov::Shape{ 32, 1 }, { 1 });
413413
auto scale = std::make_shared<ov::op::v1::Multiply>(sub, scale_const);
414-
auto fc = std::make_shared<ov::intel_gpu::op::FullyConnected>(input1, scale);
414+
auto no_bias = std::make_shared<ov::intel_gpu::op::Placeholder>();
415+
auto fc = std::make_shared<ov::intel_gpu::op::FullyConnected>(input1, scale, no_bias);
415416

416417
model = std::make_shared<ov::Model>(ov::NodeVector{ fc }, ov::ParameterVector{ input1 });
417418
manager.register_pass<ConvertFullyConnectedToFullyConnectedCompressed>();
@@ -421,7 +422,8 @@ TEST_F(TransformationTestsF, ConvertFCToCompressed9) {
421422
auto weights_const = ov::op::v0::Constant::create(ov::element::u8, ov::Shape{ 32, 16 }, { 1 });
422423
auto scale_const = ov::op::v0::Constant::create(ov::element::f16, ov::Shape{ 32, 1 }, { 1 });
423424
auto zp_const = ov::op::v0::Constant::create(ov::element::u8, ov::Shape{ 32, 1 }, { 1 });
424-
auto fc_compressed = std::make_shared<ov::intel_gpu::op::FullyConnectedCompressed>(input1, weights_const, scale_const, zp_const);
425+
auto no_bias = std::make_shared<ov::intel_gpu::op::Placeholder>();
426+
auto fc_compressed = std::make_shared<ov::intel_gpu::op::FullyConnectedCompressed>(input1, weights_const, no_bias, scale_const, zp_const);
425427

426428
model_ref = std::make_shared<ov::Model>(ov::NodeVector{ fc_compressed }, ov::ParameterVector{ input1 });
427429
}

0 commit comments

Comments
 (0)