tvm-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wuwei Lin via TVM Discuss <nore...@discuss.tvm.ai>
Subject [TVM Discuss] [Development] [Relay] Sub-functions printed in reverse order
Date Fri, 22 Mar 2019 09:34:02 GMT


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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message