Hi,
The thing is that parameters are created in the __init__ method and no information about how they’re going to be used in forward is known in advance.
If you want to enforce an order, storing your Modules in an nn.Sequential or a nn.ModuleList should work.