Hello,
I also want to get gradient of output wrt activation of intermediate layer.
I tried backward_hook for that layer, it returns tuple of what? could you explain? is it gradient of output wrt weight and bias of that layer? I want wrt activation(output) of that layer.