Skip to content

Commit 5b6d35c

Browse files
authored
Apply suggestion from @justinchuby
1 parent 161441e commit 5b6d35c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

onnxscript/nn/_sequential.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def forward(self, op, x):
3232
"""
3333

3434
def __init__(self, *modules: _module_list.Module) -> None:
35-
super().__init__(list(modules))
35+
super().__init__(modules)
3636

3737
def _set_name(self, name: str) -> None:
3838
"""Set this container's name. Children keep simple ``"0"``, ``"1"`` names.

0 commit comments

Comments
 (0)