function_unsupported_dtypes#

ivy.function_unsupported_dtypes(fn, recurse=True)[source]#

Return the unsupported data types of the current backend’s function.

Parameters:
  • fn (Callable) – The function to check for the unsupported dtype attribute

  • recurse (bool) – Whether to recurse into used ivy functions. Default is True. (default: True)

Return type:

Tuple

Returns:

ret – The unsupported data types of the function

Examples

>>> ivy.set_backend('torch')
>>> print(ivy.function_unsupported_dtypes(ivy.acosh))
('float16','uint16','uint32','uint64')