Returns the canonical string name of a dtype.
This is the form used in error messages, repr(tensor) rendering, and
the Python lucid.dtype wrapper's __repr__.
Parameters
dtDtypeDtype to convert.
Returns
std::string_viewOne of "bool", "int8", "int16", "int32", "int64", "float16", "float32", "float64", "complex64". The view points into a static literal — safe to store across calls.
Raises
:logic_errorThe enum was extended without updating this switch.