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 4 years ago

kffaxen commented 4 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.