DCGAN is initialized with random weights, so a random code plugged in the network would deliver a completely random image. Nonetheless, while you might imagine, the network has a lot of parameters that we can easily tweak, and also the aim is to find a environment of those parameters https://jaredtcjta.bloggazzo.com/33523282/detailed-notes-on-neuralspot-features