it will be changed when https://github.com/sdpython/onnx-diagnostic/pull/236 is landed. we need to fix it, if we still want this API