Skip to content

Commit 6d84289

Browse files
authored
fix style
1 parent 8c06ce4 commit 6d84289

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

onnxscript/utils/model_proto_to_function_proto.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ def convert_model_proto_to_function_proto(
4646
Since function protos don't support initializers (or rather it does not make sense in the context of a function)
4747
we need to convert them to constants first.
4848
"""
49-
model = _initializers_to_constants(
50-
model
51-
)
49+
model = _initializers_to_constants(model)
5250
model_ir = onnx_ir.serde.deserialize_model(model)
5351
function_ir = onnx_ir.Function(
5452
domain=domain, name=name, graph=model_ir.graph, attributes={}

0 commit comments

Comments
 (0)