Xilinx / finn-base

Open Source Compiler Framework using ONNX as Frontend and IR
https://finn-base.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
29 stars 17 forks source link

DataType system refactoring and fixed-point types #50

Closed maltanar closed 2 years ago

maltanar commented 2 years ago

FINN's custom DataType support was a not-quite-exhaustive enumeration of possible values, which limits the flexibility of what the compiler can do. This PR refactors the datatype system and provides a few new features: