Structured Probabilistic Models for Deep Learning