Skip to content

Commit a2286d3

Browse files
chapman73Copilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ec7dc9b commit a2286d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxscript/utils/model_proto_to_function_proto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def _initializers_to_constants(model: onnx.ModelProto) -> onnx.ModelProto:
3939

4040

4141
def convert_model_proto_to_function_proto(
42-
model: onnx.ModelProto, domain, name
42+
model: onnx.ModelProto, domain: str, name: str
4343
) -> onnx.FunctionProto:
4444
"""Converts an arbitrary ModelProto to a FunctionProto.
4545

0 commit comments

Comments
 (0)