Bayesian Deep Learning and a Probabilistic Perspective of Generalization