Repair a verified behavior in fastmachinelearning/hls4ml.
Repair a verified behavior in fastmachinelearning/hls4ml.: a task in OriGent-SFT-Data (Harbor dataset). In hls4ml's Vivado CustomMSE loss, padding is identified from a ground-truth tensor whose entries are zero in the original, unscaled representation. The existing operation only receives the…
The task
In hls4ml's Vivado CustomMSE loss, padding is identified from a ground-truth tensor whose entries are zero in the original, unscaled representation. The existing operation only receives the scaled ground truth and the prediction. If scaling maps an original zero to a nonzero value, the mask condition is not detected;…
Part of henryen/OriGent-SFT-Data.