Skip to content

Commit

Permalink
FuseU4WeightsAndZeroPoint tests: avoid std::vector<std::int8_t> usage
Browse files Browse the repository at this point in the history
  • Loading branch information
v-Golubev committed Nov 10, 2023
1 parent 49c8526 commit 26bee2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<ov::op::v0::Convert>(weights, decompression_precision);
std::vector<std::int8_t> zero_point_values(ov::shape_size(decompression_shape), 8);
std::vector<int> 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<ov::op::v0::Convert>(zero_point, decompression_precision);
Expand Down

0 comments on commit 26bee2e

Please sign in to comment.