Repair a verified behavior in fastmachinelearning/hls4ml.
Repair a verified behavior in fastmachinelearning/hls4ml.: a task in OriGent-SFT-Data (Harbor dataset). When a Keras model containing a BatchNormalization followed by a QKeras ternary QActivation is converted with backend="Quartus" , the resulting HLS model graph keeps the quantized dense layer's…
The task
When a Keras model containing a `BatchNormalization` followed by a QKeras ternary `QActivation` is converted with `backend="Quartus"`, the resulting HLS model graph keeps the quantized dense layer's `ApplyAlpha` node and a separate `TernaryTanh` node. The same batch-normalization plus quantized-tanh pattern is…
Part of henryen/OriGent-SFT-Data.