onnxruntime ignores explicit local-function overload
This repository contains a minimal .onnx proof of concept showing that onnxruntime ignores the explicit overload field when resolving model-local functions.
Files
explicit_overload_ignored.onnx: minimal PoCgenerate_poc.py: regenerates the PoCreproduce.py: runs the model inonnxruntime
Reproduction
python generate_poc.py
python reproduce.py
Expected highlights
- graph calls
local::Fwithoverload="ov1" - runtime output is
[-2.], meaningov2was executed instead