Skip to content

Commit

Permalink
add node_name to operator parser
Browse files Browse the repository at this point in the history
  • Loading branch information
asyms committed May 16, 2024
1 parent 3a6c2ac commit 92f1ebe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zigzag/parser/onnx/ONNXOperatorParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def __init__(
onnx_model: ModelProto,
) -> None:
self.node_id = node_id
self.node_name = node.name if node.name else f"Layer{node_id}"
self.node = node
self.nodes_outputs = nodes_outputs
self.onnx_model = onnx_model
Expand Down

0 comments on commit 92f1ebe

Please sign in to comment.