This issue is introduced by https://github.com/dmlc/tvm/pull/2605

It is useful to print relay ir after passes for debug. Adding 
`print(ir_pass.pass_debug_print(func, show_meta_data=False))` after 
`ir_pass.fuse_ops` in relay.build_module, sub-functions are printted in reverse 
order which are diffucult to read.
Also, the place that subfunctions are shown seems strange. Previously 
subfunctions are printed before the first time they are called. The current way 
is to print several subfunctions and then call each of them, is this intended?

Here are the result of inception_v3: https://pastebin.com/L5fugT2x

@joshpoll





---
[Visit 
Topic](https://discuss.tvm.ai/t/relay-sub-functions-printed-in-reverse-order/1984/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/4c67c939475a89ead7410d6afe31d8e11bdcae4d96772c0dd8cab115af2ebddd).

Tianqi Chen, UW, Seattle, WA, 98105, United States
http://tracking.discuss.tvm.ai/tracking/unsubscribe?msgid=WtNLpHlyuh24dp20NQxvHQ2

Reply via email to