How to obtain the graph JSON for heterogeneous execution in relax

Heterogeneous execution is supported in Relay, and I’ve successfully met all the requirements for the custom backend. The fallback is also functioning as expected. Now, I’m planning to upgrade to the latest Relax framework and want to get the final graph JSON. It might contain CPU nodes and GPU nodes, depending on the operator registration or pattern matching. I’ve been looking at the MSC framework, and using it, I was able to generate the graph. The backend is very similar to Relay. However, I’m unsure how to specify host targets and fallbacks for certain operations that are not supported by the custom GPU. Can someone please guide me on how to achieve multi-target graph execution IN RELAX and JSON generation?