Hi everyone, I am working on a branch to add Alveo support for hls4ml. I have my code up to date with the master branch and am currently running tests to make sure everything works fine.
I am seeing a error when including the code hls4ml.model.optimizer.get_optimizer('output_rounding_saturation_mode').configure(layers=['Activation'], rounding_mode='AP_RND', saturation_mode='AP_SAT')
when configuring my hls4ml model. This error appears during hls_model.compile()
The error can be removed by adding hls4ml.model.optimizer.get_optimizer('output_rounding_saturation_mode').configure(layers=[]) before compile without compromising the accuracy.
Why is this happening?
Hi everyone, I am working on a branch to add Alveo support for hls4ml. I have my code up to date with the master branch and am currently running tests to make sure everything works fine. I am seeing a error when including the code
hls4ml.model.optimizer.get_optimizer('output_rounding_saturation_mode').configure(layers=['Activation'], rounding_mode='AP_RND', saturation_mode='AP_SAT')
when configuring my hls4ml model. This error appears duringhls_model.compile()
The error can be removed by addinghls4ml.model.optimizer.get_optimizer('output_rounding_saturation_mode').configure(layers=[])
before compile without compromising the accuracy. Why is this happening?