how to dump the operations of all the methods of a jitted class object #1906
Answered
by
ronghongbo
ronghongbo
asked this question in
Q&A
-
Hello, I tried flax.linen.jit with a class object. It seems to work without any error, but then how to dump out the operations/IR of the methods in the jitted object? Here is a simple program mlp.py:
Here is the execution results:
The results provide an address for the wrapped method, instead of a human readable IR. Any idea? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
ronghongbo
Feb 13, 2022
Replies: 1 comment
-
Thanks to the help of Bojan Nikolic, I was able to dump the IR in this way:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
marcvanzee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks to the help of Bojan Nikolic, I was able to dump the IR in this way: