From d5546eaceb2984ecaee1f2287fd1ce62b02649b5 Mon Sep 17 00:00:00 2001 From: waytrue17 <52505574+waytrue17@users.noreply.github.com> Date: Tue, 4 May 2021 10:45:55 -0700 Subject: [PATCH] fix (#20240) Co-authored-by: Wei Chu --- 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, ])