A Generalized Deep Learning Model for Glaucoma Detection