https://d2l.ai/chapter_generative-adversarial-networks/dcgan.html
==
The PyTorch adaptation of this section was initially contributed by @StevenJokess, as reviewed and revised by @anirudh. The PR may not show up on Git due to the suspended account of the former.