Skip to content

Commit

Permalink
fix: Fixed ivy.zero_pad for paddle backend (#27994)
Browse files Browse the repository at this point in the history
Co-authored-by: NripeshN <nripesh14@gmail.com>
  • Loading branch information
vismaysur and NripeshN committed Feb 25, 2024
1 parent 26bf455 commit 661030a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ivy/functional/backends/paddle/manipulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ def constant_pad(
return paddle.nn.functional.pad(x=x, pad=paddings, value=value)


@with_unsupported_dtypes({"2.6.0 and below": ("float16",)}, backend_version)
def zero_pad(
x: paddle.Tensor,
/,
Expand Down

0 comments on commit 661030a

Please sign in to comment.