composing graphical models with neural networks fo