From aec6e1d4a9deb03839c7d2511b431a3fd54533fa Mon Sep 17 00:00:00 2001 From: Jay Choy <91728831+ZJay07@users.noreply.github.com> Date: Sat, 16 Mar 2024 15:34:18 +0000 Subject: [PATCH] fix: specify the supported types for the tril in paddle frontend(#28596) --- ivy/functional/frontends/paddle/creation.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ivy/functional/frontends/paddle/creation.py b/ivy/functional/frontends/paddle/creation.py index b83a7d23a216d..10f7054b17e9a 100644 --- a/ivy/functional/frontends/paddle/creation.py +++ b/ivy/functional/frontends/paddle/creation.py @@ -153,16 +153,16 @@ def to_tensor(data, /, *, dtype=None, place=None, stop_gradient=True): return paddle_frontend.Tensor(array, dtype=dtype, place=place) -@with_unsupported_dtypes( +@with_supported_dtypes( { "2.6.0 and below": ( - "uint8", - "int8", - "int16", - "float16", + "bool", + "float64", + "float32", + "int32", + "int64", "complex64", "complex128", - "bool", ) }, "paddle",