DCGAN is initialized with random weights, so a random code plugged into the network would generate a totally random image. Having said that, as you might imagine, the network has many parameters that we will tweak, and the objective is to locate a location of these parameters that makes https://ambiq.ai/community/optimizing-ai-using-neuralspot/