From cb0974658e18f8e75a9f7deeadfc4982a35f11a1 Mon Sep 17 00:00:00 2001 From: Jay Choy <91728831+ZJay07@users.noreply.github.com> Date: Wed, 13 Mar 2024 09:32:38 +0000 Subject: [PATCH 1/2] fixed paddle.triu test --- ivy/functional/frontends/paddle/creation.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ivy/functional/frontends/paddle/creation.py b/ivy/functional/frontends/paddle/creation.py index 2f1b4a5f136c5..baf086c40039a 100644 --- a/ivy/functional/frontends/paddle/creation.py +++ b/ivy/functional/frontends/paddle/creation.py @@ -180,16 +180,15 @@ def tril_indices(row, col, offset=0, dtype="int64"): return arr -@with_unsupported_dtypes( +@with_supported_dtypes( { "2.6.0 and below": ( - "uint8", - "int8", - "int16", - "float16", + "float64", + "floar32", + "int32", + "int64", "complex64", "complex128", - "bool", ) }, "paddle", From 9d1d08ece6710e0036db1310dbd5e8f6be5a4664 Mon Sep 17 00:00:00 2001 From: Jay Choy <91728831+ZJay07@users.noreply.github.com> Date: Wed, 13 Mar 2024 09:33:49 +0000 Subject: [PATCH 2/2] spelling mistake on float --- ivy/functional/frontends/paddle/creation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ivy/functional/frontends/paddle/creation.py b/ivy/functional/frontends/paddle/creation.py index baf086c40039a..b83a7d23a216d 100644 --- a/ivy/functional/frontends/paddle/creation.py +++ b/ivy/functional/frontends/paddle/creation.py @@ -184,7 +184,7 @@ def tril_indices(row, col, offset=0, dtype="int64"): { "2.6.0 and below": ( "float64", - "floar32", + "float32", "int32", "int64", "complex64",