invalid_dtype#

ivy.invalid_dtype(dtype_in, /)[source]#

Determine whether the provided data type is not support by the current framework.

Parameters:

dtype_in (Optional[Union[Dtype, NativeDtype, str]]) – The data type for which to check for backend non-support

Return type:

bool

Returns:

ret – Boolean, whether the data-type string is un-supported.

Examples

>>> print(ivy.invalid_dtype(None))
False
>>> print(ivy.invalid_dtype("uint64"))
False
>>> print(ivy.invalid_dtype(ivy.float64))
False
>>> print(ivy.invalid_dtype(ivy.native_uint8))
False