From 18e3eb8acae8876a44dc1065f93c06cda9c94e68 Mon Sep 17 00:00:00 2001 From: Gadri Ebenezer Date: Mon, 26 Feb 2024 11:23:31 +0000 Subject: [PATCH] fix: Fixed Frontend Failing Test: paddle - tensor.torch.Tensor.repeat (#28324) --- ivy_tests/test_ivy/test_frontends/test_torch/test_tensor.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ivy_tests/test_ivy/test_frontends/test_torch/test_tensor.py b/ivy_tests/test_ivy/test_frontends/test_torch/test_tensor.py index 6b8f122486cd8..a26b37feb402e 100644 --- a/ivy_tests/test_ivy/test_frontends/test_torch/test_tensor.py +++ b/ivy_tests/test_ivy/test_frontends/test_torch/test_tensor.py @@ -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, }