Feldspar / feldspar-language

The goal of the Feldspar project is to define a high-level language that allows description of high-performance digital signal processing algorithms.
Other
45 stars 3 forks source link

Make tags shorter for some generated structs. #496

Closed kffaxen closed 3 years ago

kffaxen commented 3 years ago

Struct types with many fields get very long tags in the generated code. This is a problem for the weight dictionaries created by onnxToFeld. We solve the problem by abbreviating sequences of fields with the same type using run length encoding.