pub fn element_type(dtype: DType) -> &'static str
Returns the MLIR element type of a dtype, such as f32 or ui8.
f32
ui8