From 26bee2ea9b0095da27b605aa1487a0cd4062e296 Mon Sep 17 00:00:00 2001 From: Vladislav Golubev Date: Tue, 7 Nov 2023 11:36:47 +0100 Subject: [PATCH] FuseU4WeightsAndZeroPoint tests: avoid std::vector usage --- .../convert_u4_weights_zero_point_to_scalar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/transformations/tests/common_optimizations/convert_u4_weights_zero_point_to_scalar.cpp b/src/common/transformations/tests/common_optimizations/convert_u4_weights_zero_point_to_scalar.cpp index 8fc896065e9001..70d22a1a1c41fd 100644 --- a/src/common/transformations/tests/common_optimizations/convert_u4_weights_zero_point_to_scalar.cpp +++ b/src/common/transformations/tests/common_optimizations/convert_u4_weights_zero_point_to_scalar.cpp @@ -113,7 +113,7 @@ TEST_F(TransformationTestsF, FuseU4WeightsAndZeroPointNotScalarLikeZP) { ov::Shape decompression_shape{32, 1, 64}; auto weights = ov::op::v0::Constant::create(weights_precision, weights_shape, {4}); auto convert = std::make_shared(weights, decompression_precision); - std::vector zero_point_values(ov::shape_size(decompression_shape), 8); + std::vector zero_point_values(ov::shape_size(decompression_shape), 8); zero_point_values.back() = 6; auto zero_point = ov::op::v0::Constant::create(weights_precision, decompression_shape, zero_point_values); auto zero_point_convert = std::make_shared(zero_point, decompression_precision);