hls4ml symbolic expressions may be optimized for latency.
This script generates complexity_of_operators
which should be used as one of the arguments to PySRRegressor to guide evolutionary search.
Run as follows:
python generate_cfg.py --part <part> --precision_B <precision_B> --precision_I <precision_I> --ops_list <ops_list.json>