Convolutional variational auto-encoder for binarized MNIST

Hi everyone,

I’ve been looking at the convolutional variational auto-encoder for binarize MNIST from the Edwards examples. I don’t understand why there are a generative and inference network functions? Is the inference network function the encoder while the generative network plays the role of the decoder? Can someone explain?