Statistics for Deep Generative Modeling Based Retinal Image Analysis