function_unsupported_devices#

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

Return the unsupported devices of the current backend’s function.

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

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

Return type:

Tuple

Returns:

ret – Tuple containing the unsupported devices of the function

Examples

>>> import ivy
>>> print(ivy.function_unsupported_devices(ivy.ones))
()