HI,
you can use
model= Model()
optimizer = torch.optim.Adam(model.parameters(), lr=0.0001) #ADAM
or
optimizer = torch.optim.SGD(model.parameters(), lr=0.0001) # SGD

Then you can call
optimizer.step()