Repair a verified behavior in fastmachinelearning/hls4ml.
Repair a verified behavior in fastmachinelearning/hls4ml.: a task in OriGent-SFT-Data (Harbor dataset). Fixed-point weight serialization loses precision when the configured fixed-point type has a large fractional part. For example, a signed fixed-point type with total width 18 and 4 integer bits…
The task
Fixed-point weight serialization loses precision when the configured fixed-point type has a large fractional part. For example, a signed fixed-point type with total width 18 and 4 integer bits has 14 fractional bits, and a weight equal to 2^-14 is currently serialized as `0.0000610351562` rather than the exact…
Part of henryen/OriGent-SFT-Data.