Skip to content

Commit

Permalink
Update src/common/transformations/src/transformations/common_optimiza…
Browse files Browse the repository at this point in the history
…tions/compress_float_constants.cpp
  • Loading branch information
pavel-esir authored Aug 16, 2023
1 parent 02049b1 commit ed8520f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ std::shared_ptr<ov::Node> change_constant_precision_to_fp16(std::shared_ptr<ov::
if (!dst_data || !size)
return nullptr;

// slow implementation: is used when optimized implementations are not available: f64 or for ARM (both for f64 and f32)
int num_out_of_range = 0;
for (size_t i = 0; i < size; ++i) {
// if abs value is smaller than the smallest positive fp16, but not zero
Expand Down

0 comments on commit ed8520f

Please sign in to comment.