Skip to content

Commit

Permalink
Pass succ.successor to MergeSolution rather than succ.successor[0] (#120
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jiafatom authored Jun 5, 2020
1 parent 598ce54 commit 0030d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxconverter_common/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ def find(node):
else:
break
if succ.is_transpose:
solution = MergeSolution(node.get_precedence_by_idx(0), node, succ, succ.successor[0])
solution = MergeSolution(node.get_precedence_by_idx(0), node, succ, succ.successor)
return solution

last_switchable = node
Expand Down

0 comments on commit 0030d9f

Please sign in to comment.