I’m familiar with C++ and know the basic concepts about python, and tvm source seems hard to read.
Maybe it’s because lack of prior-knowledge?
Should I learn some knowledge about functional programming or Compilation before reading the source code?
If not, where should I start?
For example, I want to know the details of tvm.relay.build_module, but when I dive into it using pdb, I soon get lost… I have no roadmap of the whole framework.
I am in the same boat as you are. I have started from tvm.relay.build_module(), and got lost multiple time. I am trying to get IDE setup so that I can debug. I am wondering if you are using IDE?