Conditional Sum-Product Networks: Imposing Structure on Deep Probabilistic Architectures