Some quick and dirty code which uses gradient ascent to find the input image which maximizes the output probability for a particular class.
Some quick and dirty code which uses gradient ascent to find the input image which maximizes the output probability for a particular class.