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 <precision>