[Relay] tvm.relay.ir_pass is gone?

Hi after I sync tvm to master version I couldn’t find ir_pass under tvm.relay. I’m also un-able to use function like ir_pass.free_vars or ir_pass.infer_type. However I couldn’t find alternative to replace them from document.

Any idea of where should I use to replace those two mentioned functions?

Thanks!

Most of analysis are moved to https://github.com/dmlc/tvm/blob/master/python/tvm/relay/analysis.py and transformations to https://docs.tvm.ai/api/python/relay/transform.html cc @zhiics seems that we did not add analysis namespace to the python docs, contribution is more than welcomed

1 Like

Great! Thanks for fast response!

Sorry. I think this is something I overlooked. I will add the doc for it.

1 Like

@ZephyrSails please refer to https://github.com/dmlc/tvm/pull/3985

1 Like