Hi,
When working with nn.Module, we only check the child nn.Modules when looking for parameters.
In particular, if you store your child modules in python dictionaries or lists, they won’t be found. You can use builtin utils like ModuleDict or ModuleList (see doc 44) to store collections of Modules and still have them detected.