Reconstruct model from inlined_graph

Hello, probably a very obscure question:

assuming we have a string which encodes a valid inlined_graph IR representation of a (JIT scripted) model, is there a way to re-assemble the original model in form of, e.g., an nn.Module or RecursiveScriptModule or any similar complete object?

Thanks a lot,
Best regards,
RB