Hi, I read the GAN code and I have the confusion that why the retain_graph is needed here ?
PyTorch-Tutorial/tutorial-contents/406_GAN.py
Line 71 in 4e5122c
Hi, I read the GAN code and I have the confusion that why the retain_graph is needed here ?
PyTorch-Tutorial/tutorial-contents/406_GAN.py
Line 71 in 4e5122c
The computation graph of discriminator should not be released ?