Skip to content

Commit

Permalink
fix: specify supported types for fix function in paddle frontend(#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
ZJay07 committed Mar 25, 2024
1 parent 03a3912 commit ea40261
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ivy/functional/backends/paddle/experimental/elementwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,9 @@ def allclose(
return paddle.allclose(x1, x2, rtol=rtol, atol=atol, equal_nan=equal_nan).squeeze(0)


@with_unsupported_dtypes({"2.6.0 and below": ("float16",)}, backend_version)
@with_supported_dtypes(
{"2.6.0 and below": ("int32", "int64", "float64", "float32")}, backend_version
)
def fix(
x: paddle.Tensor,
/,
Expand Down

0 comments on commit ea40261

Please sign in to comment.