Generative Adversarial Networks (GANs) are one of the most exciting ideas in modern machine learning:…