Hi for my project I'm using a somewhat simple CNN consisting of several convolution layers and pooling layers. Essentially the model is trained to perform a blur of sorts on an input image.
For my project the gradients of the output pixels with respect to the input pixels is very important. I'm aware of how to get gradients for the output with respect to weights. But I am not sure how to do it with respect to input pixels.
Basically it will tell me how changing an input pixel effects the output!
I'm currently using pytorch but I dont mind using any package that could give me this functionality.