You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I browsed the relevant files and found the problem in line 11 of the file in the path "hls4ml/converters/keras/qkeras.py", I found that hls4ml has a special specification for the QBN layer.(
MrFaith2001
changed the title
About QBatchNormalization is not support QKeras
About QBatchNormalization is not support QKeras po2 quantizer
Dec 23, 2023
I remember the model parsing sometimes giving extra warnings in the past due to some convoluted logic but working in the past, so I wanted to make sure that wasn't the case. Did you confirm that the produced code is actually not working properly? That can well be the case, but I wanted to ask.
Prerequisites
Please make sure to check off these prerequisites before submitting a bug report.
Quick summary
When I use hls4ml to convert the QBatchnormalization layer, I will be prompted that the quantizer of po2 is not supported.
Details
My QBatchNormalization is using po2 quantizer, but hls4ml told me that it can't support the quantizer
Steps to Reproduce
Expected behavior
I hope hls4ml can recognize all quantizers and convert successfully
Actual behavior
hls4ml will report :
Possible fix
I browsed the relevant files and found the problem in line 11 of the file in the path "hls4ml/converters/keras/qkeras.py", I found that hls4ml has a special specification for the QBN layer.(
hls4ml/hls4ml/converters/keras/qkeras.py
Line 11 in 07c5bb6
The text was updated successfully, but these errors were encountered: