Repair a verified behavior in fastmachinelearning/hls4ml.
Repair a verified behavior in fastmachinelearning/hls4ml.: a task in OriGent-SFT-Data (Harbor dataset). For example, converting a PyTorch View with an input shape of None, 4, 24 and target view(-1, 96) must produce a Reshape layer with target shape == 96 and output shape None, 96 . For an input…
The task
For example, converting a PyTorch View with an input shape of `[None, 4, 24]` and target `view(-1, 96)` must produce a `Reshape` layer with `target_shape == [96]` and output shape `[None, 96]`. For an input shape of `[None, 2, 3]` and `view(-1, 6)`, the inferred dimension must be resolved to `1` and the result must…
Part of henryen/OriGent-SFT-Data.