Created by: ceci3
Remove useless code in dcgan fix https://github.com/PaddlePaddle/Paddle/issues/22085