Visualizing the intermediate layers