function_unsupported_dtypes#
- ivy.function_unsupported_dtypes(fn, recurse=True)[source]#
Return the unsupported data types of the current backend’s function. The function returns a dict containing the unsupported dtypes for the compositional and primary implementations in case of partial mixed functions.
- Parameters:
fn (
Callable
) – The function to check for the unsupported dtype attributerecurse (
bool
, default:True
) – Whether to recurse into used ivy functions. Default isTrue
.
- Return type:
Union
[Tuple
,dict
]- Returns:
ret – Tuple or dict containing the unsupported dtypes of the function
Examples
>>> ivy.set_backend('torch') >>> print(ivy.function_unsupported_dtypes(ivy.acosh)) ('float16','uint16','uint32','uint64')