The following diagram illustrates the basic architecture of GANs:
A random input is used to generate a sample of data. For example, a generator, G(z), uses a prior distribution, p(z), to achieve an input, z. Using z, it then generates some data. This output is fed as input to the discriminator neural network, D(x). It takes an input x from , where is our real data distribution. D(x) then solves a binary classification problem using ...