Generalized Loss Functions for Generative Adversarial Networks