Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunderberg committed Oct 23, 2023
1 parent b3f0a94 commit 5ada41f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/python/relax/test_dataflow_pattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -1404,9 +1404,8 @@ def before(x: R.Tensor((1024,))):
def expected(x: R.Tensor((1024,))):
with R.dataflow():
a = R.add(x, x)
b = a
R.output(b)
return b
R.output(a)
return a

else:

Expand Down

0 comments on commit 5ada41f

Please sign in to comment.