C++ shared_ptr<torch::jit::script::Module>

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 !


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

Please see:

1 Like

Thank you very much. Nothing is more enjoyable than getting a solution. Thanks again!