yeah i see your point, for a pointwise activation grad_input and grad_output would be of the same size, so its straightforward to directly use the grad_output to substitute grad_input.
An extra question please, form other posts it seems that modification of gradients is not so straightforward for other layers, is that still the case?