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). When a PyTorch model passes optional initial recurrent states to torch.nn.LSTM or torch.nn.GRU , hls4ml does not use them. For example, a forward method may call an LSTM as self.rnn(x, (h0, c0))…

The task

When a PyTorch model passes optional initial recurrent states to `torch.nn.LSTM` or `torch.nn.GRU`, hls4ml does not use them. For example, a forward method may call an LSTM as `self.rnn(x, (h0, c0))` or a GRU as `self.rnn(x, h0)`. The PyTorch parser currently represents the recurrent layer as having only its sequence…

Part of henryen/OriGent-SFT-Data.