Visualizing the weights in the intermediate layers