legate.core.Type.from_numpy_dtype#
- static Type.from_numpy_dtype(dtype: DTypeLike) Type #
Construct a
Type
object from a numpydtype
.- Parameters:
dtype (DTypeLike) – The numpy dtype.
- Returns:
The deduced type.
- Return type:
- Raises:
NotImplementedError – If type deduction fails.