Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
isanghao committed Aug 6, 2024
1 parent b6a15c6 commit 334be2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/transformations/src/ov_ops/dynamic_quantize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ std::vector<ov::PartialShape> DynamicQuantize::shape_infer(const DynamicQuantize
scale_shape[i] = 1;
else {
scale_shape[i] /= group_sizes[i]; // if group_size is larger than shape, scale_shape will be 1
scale_shape[i] = std::max(scale_shape[i].get_length(), 1L);
scale_shape[i] = std::max(static_cast<int>(scale_shape[i].get_length()), 1);
}
}
out_shapes.push_back(scale_shape);
Expand Down

0 comments on commit 334be2d

Please sign in to comment.