diff --git a/ivy_tests/test_ivy/test_frontends/test_torch/test_nn/test_functional/test_vision_functions.py b/ivy_tests/test_ivy/test_frontends/test_torch/test_nn/test_functional/test_vision_functions.py index b2885c9b5d4fb..74ff174309488 100644 --- a/ivy_tests/test_ivy/test_frontends/test_torch/test_nn/test_functional/test_vision_functions.py +++ b/ivy_tests/test_ivy/test_frontends/test_torch/test_nn/test_functional/test_vision_functions.py @@ -68,7 +68,7 @@ def _pad_generator(draw, shape, mode): max_pad_value = shape[i] - 1 pad = pad + draw( st.tuples( - st.integers(min_value=-3, max_value=max(0, max_pad_value)), + st.integers(min_value=0, max_value=max(0, max_pad_value)), st.integers(min_value=-3, max_value=max(0, max_pad_value)), ) )