Still the same answer holds. Unless you add the parameters of the modules in the list to the optimizer manually,  the optimizer won’t know that the module exists in the model (net.parameters() won’t reveal the parameters of the model).