Skip to content

Commit

Permalink
fix: fixed real at tf frontend (#28594)
Browse files Browse the repository at this point in the history
  • Loading branch information
samthakur587 committed Mar 16, 2024
1 parent 26f97eb commit 9f9bd53
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions ivy/functional/backends/paddle/elementwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -886,22 +886,8 @@ def logaddexp2(
return ivy.log2(ivy.exp2(x1) + ivy.exp2(x2))


@with_unsupported_device_and_dtypes(
{
"2.6.0 and below": {
"cpu": (
"int8",
"int16",
"int32",
"int64",
"uint8",
"float16",
"float32",
"float64",
"bool",
)
}
},
@with_supported_dtypes(
{"2.6.0 and below": ("complex",)},
backend_version,
)
def real(x: paddle.Tensor, /, *, out: Optional[paddle.Tensor] = None) -> paddle.Tensor:
Expand Down

0 comments on commit 9f9bd53

Please sign in to comment.