function_unsupported_devices_and_dtypes#

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

Return the unsupported combination of devices and dtypes of the current backend’s function. The function returns a dict containing the unsupported combination of devices and dtypes of the primary and compositional implementations in case of partial mixed functions.

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

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

Return type:

Dict

Returns:

ret – Tuple or dict containing the unsupported devices and dtypes of the function