First some clarifying definitions:
- Relay/NNVM-V2: is the graph IR doing graph-level optimizations.
- TVM: is a tensor DSL providing primitive for defining operators and how to schedule them.
- TOPI: defines operators and scheduling mechanism using DSL provided by TVM. It’s primarily used for AutoTVM. In fact, NNVM (old) and new Relay call into TOPI.
You may find more details in
