Skip to content

Commit

Permalink
update format check issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyx113 committed Feb 25, 2025
1 parent ba9366d commit b75907e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/onnx_subgraph/single_vs_multiple_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def __init__(self, model_path, subgraphsiostxt_path):
self.model_path = model_path
self.subgraphsiostxt_path = subgraphsiostxt_path


def infer_single_onnx_model(model_file, input_data):
session = ort.InferenceSession(model_file)
outputs = session.run(None, input_data)
Expand Down Expand Up @@ -70,5 +69,6 @@ def infer_single_onnx_model(model_file, input_data):
}

# Perform inference using a single ONNX model
output_single = ModelInference.infer_single_onnx_model(args.single, default_input_data)
output_single = ModelInference.infer_single_onnx_model(args.single,
default_input_data)
print("Single model inference completed!")

0 comments on commit b75907e

Please sign in to comment.