as_native_dtype#

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

Convert data type string representation to native data type.

Parameters:

dtype_in (Union[Dtype, NativeDtype]) – The data type string to convert to native data type.

Return type:

NativeDtype

Returns:

ret – data type e.g. ivy.float32.