Changelog
Source:NEWS.md
tengen 0.2.0
- Added the
DataTypeclass hierarchy:BooleanType,IntegerType,UIntegerType, andFloatTypewith==/!=comparison,print(), andas.character()methods. - Added
as_dtype()generic to convert strings (e.g."i32","f64") toDataTypeobjects. - Added
is_dtype()andassert_dtype()helpers for type checking. - Added
nelts()generic to get the number of elements of a tensor. - Renamed
TensorDataTypetoDataType.