Currently the register_backward_hook/register_backward_full_hook has only access to the grad_inputs and the grad_outputs. I would like to know if there is any other way to access the local inputs to backward pass (Outputs of a forward pass) via backward hook or some other means?