Repair a verified behavior in fastmachinelearning/hls4ml.
Repair a verified behavior in fastmachinelearning/hls4ml.: a task in OriGent-SFT-Data (Harbor dataset). The hls4ml PyTorch converter already maps torch.nn.ConstantPad1d and torch.nn.ConstantPad2d with a padding value of zero to the existing ZeroPadding1D and ZeroPadding2D layer classes. An…
The task
The hls4ml PyTorch converter already maps `torch.nn.ConstantPad1d` and `torch.nn.ConstantPad2d` with a padding value of zero to the existing `ZeroPadding1D` and `ZeroPadding2D` layer classes. An equivalent zero-padding model exported to ONNX cannot currently be converted: the ONNX/QONNX front end has no handler for…
Part of henryen/OriGent-SFT-Data.