Repair a verified behavior in fastmachinelearning/hls4ml.
Repair a verified behavior in fastmachinelearning/hls4ml.: a task in OriGent-SFT-Data (Harbor dataset). Power-of-2 quantized multiplication over-allocates the intermediate result type in generated HLS firmware. For an input x T and an exponential weight representation whose weight field has width…
The task
Power-of-2 quantized multiplication over-allocates the intermediate result type in generated HLS firmware. For an input `x_T` and an exponential weight representation whose `weight` field has width `Ww`, the `nnet::product::weight_exponential` specialization currently derives `r_T` from a value as large as the…
Part of henryen/OriGent-SFT-Data.