Skip to content

Commit f5c5109

Browse files
committed
fix test: -pow2's are technically 1 bit
1 parent fcc77a2 commit f5c5109

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pytest/test_auto_precision.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,10 @@ def test_auto_precision_dense(keras_model_dense, data_1d, io_type, backend):
261261
"val, expected_width",
262262
[
263263
(0, 1),
264-
(-1024, 2),
264+
(-1024, 1),
265265
(1024, 1),
266266
(0.03125, 1),
267-
(-0.03125, 2),
267+
(-0.03125, 1),
268268
(1.25, 3),
269269
(-1.25, 4),
270270
(1.1, 8),

0 commit comments

Comments
 (0)