Can torchscript c++ custom class accept ModuleList as parameters?

I want my custom torchscript class accept modulelist as constructor parameters then accept list of tensor as custom class forward parameter, finally each tensor to each module from modulelist.

But I cannot find the modulelist type in C++. Anyone can give me some advices ?