Skip to content

Consider adding more properties to DataType #109

@iksnagreb

Description

@iksnagreb

It would be convenient to augment the DataType enum to represent more properties of the data type (besides the bitwidth, name, and NumPy equivalent), such as signedness, whether it is an integer or float (the latter is already implemented), or the minimum/maximum supported value if relevant. These could then be considered, for example, in match conditions of ONNX Script pattern rewrite rules.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions