Currently, all the infer types functions for Relay are present in *.cc file. This prevents us from reusing these functions among dialects like QNN. This issue is to discuss how do we share them.
I added a PR that moves relevant functions to a header file for transform.cc as a possible proposal - #3783
Please advise - @jroesch @tqchen @vinx13 @zhiics @ZihengJiang