DataType class hierarchy: BooleanType, IntegerType,
UIntegerType, and FloatType with ==/!= comparison, print(),
and as.character() methods.as_dtype() generic to convert strings (e.g. "i32", "f64") to
DataType objects.is_dtype() and assert_dtype() helpers for type checking.nelts() generic to get the number of elements of a tensor.TensorDataType to DataType.