diff --git a/tests/core/test_basic_onnx_exec.py b/tests/core/test_basic_onnx_exec.py index 1db8b2cecc695f4be81fb5d2f1171d5b3fd53d0d..7b0412432cc6360cb9c42d66417bd187ed142563 100644 --- a/tests/core/test_basic_onnx_exec.py +++ b/tests/core/test_basic_onnx_exec.py @@ -73,7 +73,7 @@ def test_onnx_exec_internal_rounding(): model.set_tensor_datatype("inp1", idt) model.transform(InferShapes()) - mul_value = np.asarray([2], dtype=np.float32) + mul_value = np.asarray([-1], dtype=np.float32) inp_int = gen_finn_dt_tensor(idt, [2, 2]) scale = np.random.uniform(low=0, high=1, size=(2, 2)).astype(np.float32) inp_rounded = (inp_int * scale) / (scale + 1e-7)