Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Atanas Dimitrov <[email protected]>
  • Loading branch information
neNasko1 committed Jan 21, 2025
1 parent cdf53fc commit 26f1d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spox/_value_prop_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def run(
self, model: onnx.ModelProto, input_feed: dict[str, RefValue]
) -> dict[str, RefValue]:
try:
session = onnx.reference.ReferenceEvaluator(model)
session = onnx.reference.ReferenceEvaluator(model) # type: ignore
output_feed = dict(zip(session.output_names, session.run(None, input_feed)))
except Exception as e:
# Give up on value propagation if an implementation is missing.
Expand Down

0 comments on commit 26f1d51

Please sign in to comment.