uday:

and use tensorflow.python.pywrap_mlir to do a:
 import_function(
        func.get_concrete_function(), pass_pipeline="", show_debug_info=False)

the MLIR you get won’t have a “main” but just something like matmul in its name. Most of the tensorflow MLIR transforms would just end up being no-ops on them.


We could change this import to generate a main function instead?
But in general it’s not clear to me why we don’t use “public” for most passes / why do we filter on “main”?