https://github.com/AndrewZhaoLuo/TVM-Sandbox/blob/main/relay/graph_debugger_example.py
 Here is an example of using graph debugger. My apologies as it isn't very 
complete and the tensor dumps you'll have to manually associate. 

If you use graph debugger there is also an interesting function 
`get_node_output` which might also be promising: 

https://github.com/apache/tvm/blob/main/src/runtime/graph_executor/debug/graph_executor_debug.cc#L351

Finally `debug_get_output` is also a function you can call with the above 
example with rt_mod: 
https://github.com/apache/tvm/blob/main/python/tvm/contrib/debugger/debug_executor.py#L234





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/how-to-read-out-the-intermediate-value-in-relay-ir/12084/3)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/0144b5d5753bd5a461ff4dedf86388f169c0a3fd2a79aa494f503bb02c1a2237).

Reply via email to