Statistical Mechanics of Deep Learning