diff options
Diffstat (limited to 'tests/validation/NEON/Fixedpoint/Log_QS8.cpp')
-rw-r--r-- | tests/validation/NEON/Fixedpoint/Log_QS8.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/validation/NEON/Fixedpoint/Log_QS8.cpp b/tests/validation/NEON/Fixedpoint/Log_QS8.cpp index 7b734c12b1..6789ec7264 100644 --- a/tests/validation/NEON/Fixedpoint/Log_QS8.cpp +++ b/tests/validation/NEON/Fixedpoint/Log_QS8.cpp @@ -78,9 +78,9 @@ Tensor compute_log_qs8(const TensorShape &shape, int fixed_point_position) BOOST_TEST(!src.info()->is_resizable()); BOOST_TEST(!dst.info()->is_resizable()); - // Fill tensors. Keep the range between ((1 << (fixed_point_position - 1), 63) so the result won't + // Fill tensors. Keep the range between [(1 << (fixed_point_position - 1), 63) so the result won't // overflow. E.g. for Q2.5 ln(0.001) = -6.9, which cannot be represented. - std::uniform_int_distribution<> distribution((1 << (fixed_point_position - 1)), 63); + std::uniform_int_distribution<> distribution((1 << (fixed_point_position - 1)), 0x3F); library->fill(NEAccessor(src), distribution, 0); Iterator input(&src, window); |