Skip to content

Commit 503930b

Browse files
committed
mypy
1 parent 849049b commit 503930b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

onnx_diagnostic/ort_session.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -533,10 +533,10 @@ def investigate_onnxruntime_issue(
533533
f"{node.op_type}({', '.join(node.input)}) -> "
534534
f"{', '.join(node.output)}"
535535
)
536-
e = onnx.utils.Extractor(onx)
536+
ext = onnx.utils.Extractor(onx)
537537
if quiet:
538538
try:
539-
extracted = e.extract_model(input_names, node.output)
539+
extracted = ext.extract_model(input_names, node.output)
540540
except Exception as e:
541541
if verbose > 0:
542542
print(
@@ -545,7 +545,7 @@ def investigate_onnxruntime_issue(
545545
)
546546
return node
547547
else:
548-
extracted = e.extract_model(input_names, node.output)
548+
extracted = ext.extract_model(input_names, node.output)
549549

550550
if dump_filename:
551551
if verbose > 1:

0 commit comments

Comments
 (0)