DCGAN is initialized with random weights, so a random code plugged into the network would produce a completely random picture. Even so, while you may think, the network has many parameters that we can tweak, and the objective is to find a environment of those parameters that makes samples https://johnnyrtrpl.hazeronwiki.com/7731221/detailed_notes_on_artificial_intelligence_website