Convert model output to vector of strings

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); 
2 Likes