Skip to content

Commit

Permalink
fixed repeate_interleave key error
Browse files Browse the repository at this point in the history
  • Loading branch information
dhanush-2501 committed Sep 12, 2023
1 parent 637bbd9 commit 8f22d4e
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 reshape(x, shape):
return ivy.reshape(x, shape)
Expand Down

0 comments on commit 8f22d4e

Please sign in to comment.