qonnx icon indicating copy to clipboard operation
qonnx copied to clipboard

Add support for multiple default configurations

Open klassen9 opened this issue 1 year ago • 0 comments

This PR addresses the problem of not being able to assign a default configurations of the same type for different node types. For example, one could not assign the default preferred_impl_style for node type "MVAU" as "hls" and "rtl" for node type "FMPadding" in FINN.

An example of a specialze layer config for FINN which uses the updated parser:

{
    "Defaults": {
        "preferred_impl_style": ["hls", ["MVAU"], "rtl", ["FMPadding"]]    
    }
}

The changes made to the parser do not break old configurations.

klassen9 avatar Jun 29 '24 14:06 klassen9