Hi,
You can access the gradients by accessing the .grad field of each parameters.
The update value though will depend on the optimizer and you won’t be able to get it for the complex ones. The simplest thing I can think of here would be to save the weights before and compare them with the new value after the update.