Thanks a lot! I implemented it by myself yesterday and I find that use c++ to load torchscript model only support the function name ‘forward’. If I change the function name ‘forward’ to ‘infer’，and use the decorator @torch.jit.export , transfer the model to torchscript.however, when i use c++ to load the model like  torch::jit::script::Module module = torch::jit::load(‘model.pt’);  and then use module.infer(inputs), the cpp file won’t be built. Do you know why it happen?