Skip to content

Commit

Permalink
Update single_vs_multiple_onnx.py
Browse files Browse the repository at this point in the history
split long lines to short lines
  • Loading branch information
chenyx113 authored Feb 26, 2025
1 parent b75907e commit 8889cc7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tools/onnx_subgraph/single_vs_multiple_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ class ModelInference:
Output:
outputs[0]: Inference result from the model.
Description:
Subgraphsiostxt_path is a txt file that describes the structure of the model graph and is used to get input/output node names.
The model_path contains paths to multiple onnx files.
The load_sessions function will sort the onnx models in the model_path according to the order specified in subgraphsiostxt_path.
Subgraphsiostxt_path is a txt file that describes the structure of the model graph and
is used to get input/output node names.The model_path contains paths to multiple onnx files.
The load_sessions function will sort the onnx models in the model_path according to the
order specified in subgraphsiostxt_path.
"""
def __init__(self, model_path, subgraphsiostxt_path):
self.model_path = model_path
Expand Down

0 comments on commit 8889cc7

Please sign in to comment.