I need the gradient to flow back through a previous update step but the SGD step method is decorated with the no_grad property and executes the operation in-place.
I tried to do that manually but if I use tensor.add_ to modify the model parameter I get RuntimeError: a leaf Variable that requires grad is being used in an in-place operation
How can I do that?