DCGAN is initialized with random weights, so a random code plugged in to the network would make a totally random image. Nevertheless, while you might imagine, the network has a lot of parameters that we can easily tweak, and the goal is to find a environment of these parameters https://stewarts517srp1.wikijm.com/user