hls4ml
hls4ml copied to clipboard
The hls4ml transformation successful, however, the result of inference all zeros.
I am currently using the hls4ml tool to convert a neural network, but the converted network is encountering some issues.
After converting to hls4ml files and then performing inference, the results are all zeros, which suggests there may be a bug somewhere.
The original neural network, which is based on Keras, works perfectly fine for inference.
My expectation is that, after converting to hls4ml files, the inference should yield approximate results to the original Keras-based model.
Code: https://colab.research.google.com/drive/1FNPvNIoaOCAdPsRIUdxp6TfVFZirgAPb?usp=sharing