tlc-pack / relax

Apache License 2.0
193 stars 58 forks source link

[TVMScript] Fix py_print direction in IR builder #378

Closed MasterJH5574 closed 1 year ago

MasterJH5574 commented 1 year ago

Prior to this PR, in ir.py of IR builder, the py_print directs to the operator print instead of Python builtin print.

This PR fixes this issue, with a regression test in tests/python/relax/test_tvmscript_ir_builder.py.

cc @Hzfengsy