I’m trying to do something similar to this tutorial 1.
Basically my intention is to find the optimal image expected by the model, given a label.
" So I am guessing that your input ( image  tensor) is getting changed and not your model."
This is exactly what I want. But it appears that it changes the model as well. That’s the problem I’m having.