Skip to content

Commit 147e428

Browse files
authored
Improve ir.node annotations to accept None inputs (#2224)
Previously Node was omitted.
1 parent 5b86e47 commit 147e428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxscript/ir/_convenience/_constructors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def tensor(
109109

110110
def node(
111111
op_type: str,
112-
inputs: Sequence[ir.Value],
112+
inputs: Sequence[ir.Value | None],
113113
attributes: Mapping[str, _convenience.SupportedAttrTypes] | None = None,
114114
*,
115115
domain: str = "",

0 commit comments

Comments
 (0)