DCGAN is initialized with random weights, so a random code plugged to the network would crank out a totally random image. Having said that, as you may think, the network has millions of parameters that we will tweak, and the purpose is to find a placing of such parameters https://low-power-microcontroller75207.blogunteer.com/32922632/the-single-best-strategy-to-use-for-ambiq-apollo-3-datasheet