diff --git a/ivy/functional/frontends/paddle/logic.py b/ivy/functional/frontends/paddle/logic.py index 45bb6cd12fc10..b24acf818b00c 100644 --- a/ivy/functional/frontends/paddle/logic.py +++ b/ivy/functional/frontends/paddle/logic.py @@ -155,12 +155,26 @@ def greater_than(x, y, /, *, name=None): @with_unsupported_dtypes( - {"2.6.0 and below": ("uint8", "int8", "int16", "complex64", "complex128")}, + { + "2.6.0 and below": ( + "uint8", + "int8", + "int16", + "complex64", + "complex128", + "bool", + "float16", + "bfloat16", + ) + }, "paddle", ) @to_ivy_arrays_and_back def is_empty(x, name=None): - return ivy.is_empty(x) + if 0 in ivy.shape(x): + return ivy.array(True) + else: + return ivy.array(False) @to_ivy_arrays_and_back