Skip to content

Commit

Permalink
fix: Fixed Frontend Failing Test: paddle - tensor.torch.Tensor.repeat (
Browse files Browse the repository at this point in the history
  • Loading branch information
aibenStunner authored Feb 26, 2024
1 parent 116d9be commit 6c6ca50
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ivy_tests/test_ivy/test_frontends/test_torch/test_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -11338,6 +11338,12 @@ def test_torch_repeat(
backend_fw,
):
input_dtype, x, repeats = dtype_x_repeats

if backend_fw == "paddle":
# paddle only supports size of the shape of repeats
# to be less than or equal to 6
assume(len(repeats) <= 6)

repeat = {
"repeats": repeats,
}
Expand Down

0 comments on commit 6c6ca50

Please sign in to comment.