Skip to content

Commit 956742c

Browse files
No _ prefix for local variable split
Co-authored-by: Justin Chu <[email protected]>
1 parent 607a17e commit 956742c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxscript/optimizer/_constant_folding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ def split(node: ir.Node, op, _):
558558
if (x := ir.convenience.get_const_tensor(node.inputs[0])) is None:
559559
return None
560560

561-
_split = None
561+
split_ = None
562562

563563
# Option A: Sizes per split
564564
if len(node.inputs) == 2:

0 commit comments

Comments
 (0)