fastmachinelearning / hls4ml

Machine learning on FPGAs using HLS
https://fastmachinelearning.org/hls4ml
Apache License 2.0
1.22k stars 396 forks source link

Separate top level dataflow concept from layer strategy #699

Closed jmitrevs closed 1 year ago

jmitrevs commented 1 year ago

While updating the configuration, I think we should separate out the concept of top-level dataflow vs pipeline from the layer strategy. Currently, the _validate_conv_strategy could inadvertently change a Dense layer in the model from Latency to Resource. I think the concepts are different enough that they should have different configuration parameters.