We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4527f92 commit fd3c14aCopy full SHA for fd3c14a
1 file changed
onnxscript/irbuilder.py
@@ -108,16 +108,8 @@ def add(f: values.OnnxFunction):
108
109
return {name: f.to_function_proto() for name, f in called_functions.items()}
110
111
- def to_graph_proto(self, use_default_type: bool = True) -> onnx.GraphProto:
112
- """Converts this instance into a `onnx.GraphProto`.
113
-
114
- Args:
115
- use_default_type: Unused.
116
117
- Returns:
118
- an instance of :class:`onnx.GraphProto`
119
- """
120
- del use_default_type # currently not used
+ def to_graph_proto(self) -> onnx.GraphProto:
+ """Converts this instance into a `onnx.GraphProto`."""
121
return ir.to_proto(self.graph)
122
123
def to_function_proto(self) -> onnx.FunctionProto:
0 commit comments