we don’t expose a function that does that anymore to Python. It’s still available in C++ (though not guaranteed to continue to exist), should be thnn_backward.
I’d probably just write your own version for this case, though, if this is the only updateGradInput variant you need.