Define the generator and discriminator network.* Initialize generator and discriminator, and define the optimizers.* Explain the trend of loss of generator and discriminator with the number of epochs.* How does the output change with different epochs?P