Skip to content

Commit

Permalink
fix: specify the supported types for tril in paddle frontend (#28662)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZJay07 committed Mar 26, 2024
1 parent 48a831a commit 32f2ceb
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions ivy/functional/backends/paddle/creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,14 +510,18 @@ def ones_like(
return paddle_backend.ones(shape=x.shape, dtype=dtype, device=device)


@with_unsupported_device_and_dtypes(
@with_supported_device_and_dtypes(
{
"2.6.0 and below": {
"cpu": (
"int8",
"int16",
"uint8",
"complex",
"int32",
"int64",
"float64",
"complex128",
"float16",
"float32",
"complex64",
"bool",
)
}
},
Expand Down

0 comments on commit 32f2ceb

Please sign in to comment.