To properly register modules in a list, you would have to use nn.ModuleList.
A plain Python list will not register the submodules inside the parent nn.Module and they will not be returned in e.g. model.parameters().
PS: I’ve formatted your code for easier debugging.
You can add code snippet by wrapping them into three backticks ```