Repair a verified behavior in fastmachinelearning/hls4ml.
Repair a verified behavior in fastmachinelearning/hls4ml.: a task in OriGent-SFT-Data (Harbor dataset). Calling HLSModel.predict() on a compiled model that has multiple inputs works for a single sample, but fails when the inputs contain a batch of more than one sample. Instead of selecting the…
The task
Calling `HLSModel.predict()` on a compiled model that has multiple inputs works for a single sample, but fails when the inputs contain a batch of more than one sample. Instead of selecting the corresponding sample from each input array, the implementation iterates over the wrong dimension of the multi-input data and…
Part of henryen/OriGent-SFT-Data.