I meet a problem, it’s blocking me for a week. If you have a solution, please tell me, or welcome to discuss with together. Thank to you !
Problems:

image.png1058×47 9.4 KB

vs smart Tip: There is no user-defined appropriate conversion from torch::jit::script::Module to std::shared_ptrtorch::jit::script::Module