Relay IR convert to a graph

I would like to generate a compute graph from Relay IR which has finished Graph optimization or quantization. Furthermore, I would like to convert the graph to onnx format. Any suggestion will be helpful. Thank you!

There is an RFC for this last year ([RFC] Visualizing Relay program as graph) but I don’t know the current status.

cc @t-vi

Thank you very much for the quick reply. I have walked through the RFC. It seems that this feature was hang up, and Prototype implementation finally not merged in tvm project. I am curious about the current status and wish there was a graph representation with JSON file at least. @comaniac @t-vi

I did something for my blog post on the TVM blog, but that didn’t care for json. I’d probably look at using a relay visitor directly rather than json, but I’m old fashioned.