Skip to content

Commit

Permalink
restore parts of text printer testing
Browse files Browse the repository at this point in the history
  • Loading branch information
joshpoll committed Apr 11, 2019
1 parent 2dcdd39 commit 7e558e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python/relay/test_ir_text_printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def test_env():
text = env.astext()
assert "def @myf" in text
assert "def @myf" in str(env)
assert "add(%0, %0)" in text
assert "add(%0, %0)" in str(env)
assert "add(%0, %0) /* ty=float32 */" in text
assert "add(%0, %0) /* ty=float32 */" in str(env)
show(env.astext(annotate=lambda x: str(x.checked_type.dtype)))
show(text)

Expand Down

0 comments on commit 7e558e6

Please sign in to comment.