We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82f8d37 commit 684b5b5Copy full SHA for 684b5b5
onnxscript/ir/_core.py
@@ -2357,8 +2357,8 @@ def __str__(self) -> str:
2357
model_version={self.model_version!r},
2358
>"""
2359
graph_text = str(self.graph)
2360
- functions_text = ",\n\n".join(str(func) for func in self.functions.values())
2361
- return f"{signature}\n{graph_text}" + f"\n\n{functions_text}" * len(self.functions)
+ functions_text = "\n\n".join(str(func) for func in self.functions.values())
+ return f"{signature}\n{graph_text}" + f"\n\n{functions_text}"
2362
2363
def __repr__(self) -> str:
2364
return f"""\
0 commit comments