From 661030a06732e8534cd2e864e4c1cc4dc6f668fc Mon Sep 17 00:00:00 2001 From: Vismay Suramwar <83938053+Vismay-dev@users.noreply.github.com> Date: Sun, 25 Feb 2024 04:09:48 -0600 Subject: [PATCH] fix: Fixed `ivy.zero_pad` for paddle backend (#27994) Co-authored-by: NripeshN --- ivy/functional/backends/paddle/manipulation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ivy/functional/backends/paddle/manipulation.py b/ivy/functional/backends/paddle/manipulation.py index 44271c6400601..aa1a01315f952 100644 --- a/ivy/functional/backends/paddle/manipulation.py +++ b/ivy/functional/backends/paddle/manipulation.py @@ -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, /,