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 38871a5 commit 92decb4Copy full SHA for 92decb4
onnxscript/version_converter/__init__.py
@@ -169,5 +169,5 @@ def convert_version(
169
if model_proto is not None:
170
# Update the model proto in-place
171
model_proto.graph.Clear()
172
- del model_proto.functions
+ del model_proto.functions[:]
173
model_proto.graph.CopyFrom(ir.to_proto(model.graph))
0 commit comments