DCGAN is initialized with random weights, so a random code plugged to the network would generate a totally random image. Having said that, as you may think, the network has countless parameters that we can easily tweak, as well as the intention is to find a location of these parameters which makes samples created from random codes seem like the sch