Solved by ptrblck in post #13 
              
              
                You could iterate the parameters and print their .grad attribute: 
loss.backward()
for name, param in model.named_parameters():
    print('{}, {}'.format(name, param.grad))