sisleyli opened a new pull request, #12646:
URL: https://github.com/apache/tvm/pull/12646
Hi,
When I actually develop operators for some models, I often need to do some
verification.
And when I encounter a situation where the input and output values of the
entire model do not match the golden values, I often need to dump some
intermediate nodes to confirm which node the problem starts from.
As we know, we can easily print Relay IR by `print(mod["main"])`,
Relay IR represents each node as "%xx %10 %20", I feel comfortable if we can
dump nodes with "%xx" as a parameter.
So I develop a pass that can dump op by `dump_op_by_num(mod,xx)`.
Because we generally use dump OP for analysis purposes, I set it as an
`relay.analysis` API.
What do you think? Do we need such an API?
I am looking forward to your reply. Thank you!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]