Find the mistake when passing model parameters to Adam.
import torch model = torch.nn.Linear(10, 2) optimizer = torch.optim.Adam(model.parameters, lr=0.001)
What is the bug in this optimizer setup?