I use trained model in Python API in C++ API. My forward in Python returns List[str]
. How can I get output as std::vector<std::string>
in C++?
// how to convert outs?
auto outs = module.forward(dummy_input);
I use trained model in Python API in C++ API. My forward in Python returns List[str]
. How can I get output as std::vector<std::string>
in C++?
// how to convert outs?
auto outs = module.forward(dummy_input);