Skip to content

Commit

Permalink
Fix: repeate_interleave key error (ivy-llc#23455)
Browse files Browse the repository at this point in the history
Co-authored-by: @AnnaTz
  • Loading branch information
dhanush-2501 authored Sep 19, 2023
1 parent ac438e3 commit 4383047
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ivy/functional/frontends/paddle/manipulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ def gather(params, indices, axis=-1, batch_dims=0, name=None):
return ivy.gather(params, indices, axis=axis, batch_dims=batch_dims)


@with_supported_dtypes(
{"2.5.1 and below": ("int32", "int64", "float32", "float64")},
"paddle",
)
@to_ivy_arrays_and_back
def repeat_interleave(x, repeats, axis=None, name=None):
return ivy.repeat(x, repeats, axis=axis)


@to_ivy_arrays_and_back
def repeat_interleave(x, repeats, axis=None, name=None):
return ivy.repeat(x, repeats, axis=axis)
Expand Down

0 comments on commit 4383047

Please sign in to comment.