We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tile
1 parent 663d039 commit 7039edcCopy full SHA for 7039edc
ivy/functional/backends/paddle/manipulation.py
@@ -365,7 +365,7 @@ def tile(
365
) -> paddle.Tensor:
366
repeats = repeats.tolist() if isinstance(repeats, paddle.Tensor) else list(repeats)
367
# Paddle doesn't natively support repeats containing zeros
368
- if len(repeats) > 0 and min(repeats) == 0:
+ if 0 in x.shape or (len(repeats) > 0 and min(repeats) == 0):
369
if x.ndim == 0:
370
shape = repeats
371
elif len(repeats) <= x.ndim:
0 commit comments