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