Registering new compiler backend in Pytorch2.0

I got. I was able to get to it. Thanks for the help.
Another question is how we are doing mid-layer integration at the Aten FX graph layer.
I’ve my own backend implemented in the cpp with my own data structures. I want to convert the aten FX graph into my own data structure graph which my backend can emit the binary out and run on the respective hardware. Can you give some pointers on that?? How are we providing control from python to cpp and its integration?

I’ve posted the question in: How do we do mid layer integration after Aten fx graph