Constants, for example for multiplications, are recognized and added to the hls4ml model using the Constant layer introduced in the QONNX parser. Thanks to @sei-jgwohlbier for finding the issue and designing the fix.
Type of change
For a new feature or function, please create an issue first to discuss it
with us before submitting a pull request.
Note: Please delete options that are not relevant.
[x] Bug fix (non-breaking change that fixes an issue)
[x] New feature (non-breaking change which adds functionality)
Fixes https://github.com/fastmachinelearning/hls4ml/issues/1082.
Constants, for example for multiplications, are recognized and added to the hls4ml model using the
Constant
layer introduced in the QONNX parser. Thanks to @sei-jgwohlbier for finding the issue and designing the fix.Type of change
For a new feature or function, please create an issue first to discuss it with us before submitting a pull request.
Note: Please delete options that are not relevant.
Tests
Checklist
pre-commit
on the files I edited or added.