diff --git a/ivy/functional/backends/paddle/__init__.py b/ivy/functional/backends/paddle/__init__.py index e63c5c3183202..86deeb0c9b9d6 100644 --- a/ivy/functional/backends/paddle/__init__.py +++ b/ivy/functional/backends/paddle/__init__.py @@ -117,7 +117,7 @@ def rep_method(*args, **kwargs): # update these to add new dtypes valid_dtypes = { - "2.4.0 and below": ( + "2.4.2 and below": ( ivy.int8, ivy.int16, ivy.int32, @@ -130,7 +130,7 @@ def rep_method(*args, **kwargs): ivy.complex128, ivy.bool, ), - "2.4.1 and above": ( + "2.5.0 and above": ( ivy.int8, ivy.int16, ivy.int32, @@ -146,7 +146,7 @@ def rep_method(*args, **kwargs): ), } valid_numeric_dtypes = { - "2.4.0 and below": ( + "2.4.2 and below": ( ivy.int8, ivy.int16, ivy.int32, @@ -159,7 +159,7 @@ def rep_method(*args, **kwargs): ivy.complex128, ivy.bool, ), - "2.4.1 and above": ( + "2.5.0 and above": ( ivy.int8, ivy.int16, ivy.int32, @@ -182,17 +182,10 @@ def rep_method(*args, **kwargs): ivy.int64, ivy.uint8, ), - "2.5.2 and above": ( - ivy.int8, - ivy.int16, - ivy.int32, - ivy.int64, - ivy.uint8, - ), } valid_float_dtypes = { - "2.4.0 and below": (ivy.float16, ivy.float32, ivy.float64), - "2.4.1 and above": (ivy.bfloat16, ivy.float16, ivy.float32, ivy.float64), + "2.4.2 and below": (ivy.float16, ivy.float32, ivy.float64), + "2.5.0 and above": (ivy.bfloat16, ivy.float16, ivy.float32, ivy.float64), } valid_uint_dtypes = {"2.5.2 and below": (ivy.uint8,)} valid_complex_dtypes = {"2.5.2 and below": (ivy.complex64, ivy.complex128)} @@ -208,13 +201,13 @@ def rep_method(*args, **kwargs): # update these to add new dtypes invalid_dtypes = { - "2.4.0 and below": ( + "2.4.2 and below": ( ivy.uint16, ivy.uint32, ivy.uint64, ivy.bfloat16, ), - "2.4.1 and above": ( + "2.5.0 and above": ( ivy.uint16, ivy.uint32, ivy.uint64, @@ -222,13 +215,13 @@ def rep_method(*args, **kwargs): } invalid_numeric_dtypes = { - "2.4.0 and below": ( + "2.4.2 and below": ( ivy.uint16, ivy.uint32, ivy.uint64, ivy.bfloat16, ), - "2.4.1 and above": ( + "2.5.0 and above": ( ivy.uint16, ivy.uint32, ivy.uint64, @@ -236,7 +229,7 @@ def rep_method(*args, **kwargs): } invalid_int_dtypes = {"2.5.2 and below": (ivy.uint16, ivy.uint32, ivy.uint64)} -invalid_float_dtypes = {"2.4.0 and below": (ivy.bfloat16,), "2.4.1 and above": ()} +invalid_float_dtypes = {"2.4.2 and below": (ivy.bfloat16,), "2.5.0 and above": ()} invalid_uint_dtypes = {"2.5.2 and below": (ivy.uint16, ivy.uint32, ivy.uint64)} invalid_complex_dtypes = {"2.5.2 and below": ()}