Skip to content

Commit b3f9cde

Browse files
authored
Update __init__.py
For API compatibility!
1 parent 30ad8bd commit b3f9cde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

onnxscript/optimizer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def fold_constants(
5151

5252

5353
def remove_unused_nodes(model: ir.Model | onnx.ModelProto,
54-
remove_initialized_inputs: bool=True
54+
remove_initialized_inputs: bool=False
5555
) -> None:
5656
"""Removes unused nodes from a model inplace."""
5757
if isinstance(model, ir.Model):

0 commit comments

Comments
 (0)