take look at my code:
optimizer=optim.Adam(net.parameters(),lr=0.001)
 optimizer.step()

how does optimizer changes net parameters? it is passed once and then they don’t have any connection.is there any pointer stuff there?or i missed something while learning pytorch\python.