I tried searching about this and got to know that we can use tvm.build() which returns the graph but this has been depreciated.
with tvm.build_config(dump_ir_pass=True):
graph, lib, params = tvm.build(...)
Could you please tell me how to get the graph using PassContext similar to the tvm.build() function. Also it would be really helpful if you can point me the documentation of PassContext.