how would i have both of them updated … i tried passing it as list  but i got an error module.Parameters not accepted or so…
i tried some thing like thiis
optim.SGD([model.parameters(),loss.parameters())