Thanks for your reply.
backward hook only gives me the gradients computed in each layer. I want to be able to write my backward function which does not assume backpropagation (symmetric weight). That’s why access to _backend.SpatialConvolutionMM_updateGradInput
is important for my code. I would like to have access to such a function in the new Pytorch if it is possible.