function_supported_devices_and_dtypes#

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

Return the supported combination of devices and dtypes of the current backend’s function.

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

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

Return type:

Dict

Returns:

ret – The unsupported devices of the function