Skip to content

Commit

Permalink
fix(torch-frontend): fix failing test for torch.nn.functional.pad fro…
Browse files Browse the repository at this point in the history
…ntend (#27206)

Co-authored-by: Sam-Armstrong <samuel_e_armstrong@yahoo.co.uk>
  • Loading branch information
AbdullahSabry and Sam-Armstrong authored Jul 12, 2024
1 parent de435ce commit 6807b0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
)
)
Expand Down

0 comments on commit 6807b0e

Please sign in to comment.