The difference in usage between nn.ModuleList and python list

I’m late to the party, but does this mean using list instead of ModuleList will be wrong? i.e. will the weights of my networks inside the list still be updated during training?

1 Like