GAN/RealNVP demonstrates how to build a deep generative model with learnable tranformations. https://github.com/xidulu/mystery_demo/blob/master/GAN.ipynb
https://github.com/xidulu/mystery_demo/blob/master/real_nvp.ipynb
https://github.com/xidulu/mystery_demo/blob/master/SS-VAE.ipynb
https://github.com/xidulu/mystery_demo/blob/master/PPCA.ipynb
https://github.com/xidulu/mystery_demo/blob/master/SS-VAE.ipynb
https://nbviewer.jupyter.org/github/xidulu/mystery_demo/blob/master/KL_demo.ipynb