Skip to content

Commit

Permalink
Add missing close parenthesis in conversion to script
Browse files Browse the repository at this point in the history
  • Loading branch information
gramalingam committed Dec 14, 2024
1 parent 0aed232 commit 23b63eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions onnxscript/backend/onnx_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ def _translate_attributes(self, node):
text += f", offset={metadata.offset!r}"
if metadata.length:
text += f", length={metadata.length!r}"
text += ")"

Check warning on line 392 in onnxscript/backend/onnx_export.py

View check run for this annotation

Codecov / codecov/patch

onnxscript/backend/onnx_export.py#L392

Added line #L392 was not covered by tests
attributes.append((at.name, text))
continue
attributes.append((at.name, repr(value)))
Expand Down

0 comments on commit 23b63eb

Please sign in to comment.