I want to implement a c++ frontend which convert pytorch IRs to IRs of myself. In torch/csrc/jit/ir.h, I find the class torch::jit::Graph. Now I can load script::module from model file.
Is there any function to translate jit::scirpt::module to jit::script::module.