Generalized Loss-Sensitive Generative Adversarial Networks (GLS-GAN) in PyTorch with gradient penalty, including both LS-GAN and WGAN as special cases.