DCGAN is initialized with random weights, so a random code plugged into the network would produce a totally random graphic. Nevertheless, while you may think, the network has a lot of parameters that we can tweak, as well as the objective is to find a environment of those parameters https://embedded-systems86307.blogdosaga.com/33827867/getting-my-artificial-intelligence-code-to-work