Torchscript C++ Extension List type

What is the type that torch considers as the proper list type for C++ when going from Torchscript to C++?

I am trying to implement a function in C++ for torchscript but I need a list type for strings and I can’t seem to figure out how to create one.

It’s a std::vector<std::string>. Sometimes just try shit and hope that the programmers were nice.

1 Like