HF RL Explorer

Repair a verified behavior in fastmachinelearning/hls4ml.

Repair a verified behavior in fastmachinelearning/hls4ml.: a task in OriGent-SFT-Data (Harbor dataset). The Vivado nnet::selu activation mishandles the positive branch of the scaled exponential linear unit. For an input x = 0 , it casts the SeLU scale constant to the configured res T type before…

The task

The Vivado `nnet::selu` activation mishandles the positive branch of the scaled exponential linear unit. For an input `x >= 0`, it casts the SeLU scale constant to the configured `res_T` type before multiplying by `x`. Consequently, when `res_T` has too few fractional bits to represent the scale, the constant is…

Part of henryen/OriGent-SFT-Data.