From ceef7b8c4f64768c37858fed65cd9377708d8c7d Mon Sep 17 00:00:00 2001 From: Wei Chu Date: Mon, 3 May 2021 17:17:58 -0700 Subject: [PATCH] fix --- tests/python-pytest/onnx/test_operators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python-pytest/onnx/test_operators.py b/tests/python-pytest/onnx/test_operators.py index 11d14b7596c6..a2971b8f139d 100644 --- a/tests/python-pytest/onnx/test_operators.py +++ b/tests/python-pytest/onnx/test_operators.py @@ -1630,7 +1630,7 @@ def test_onnx_export_clip(tmp_path, dtype, shape): lambda x : x * np.random.rand(1)[0]*100, lambda x : x - np.random.rand(1)[0]*100, lambda x : np.random.rand(1)[0]*100 - x, - lambda x : x / (np.random.rand(1)[0]*100), + lambda x : x / (np.random.rand(1)[0]*100 + 1), lambda x : np.random.rand(1)[0]*100 / x, lambda x : x ** np.random.rand(1)[0]*10, ])