check the deepdream by google which basically generate image that specifically activates certain neuron


https://www.mathworks.com/help/nnet/examples/visualize-features-of-a-convolutional-neural-network.html 30 (matlab)

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/tutorials/deepdream/deepdream.ipynb 33 (tensorflow)

I couldn’t find the PyTorch version.