Imported from https://github.com/MNaplesDevelopment/MNIST-DCGAN-PyTorch