Hello, i’m learning pytorch and confused about how the loss works in the DCGAN tutorial -
https://pytorch.org/tutorials/beginner/dcgan_faces_tutorial.html 22
the discriminator has 2 outputs (real or fake) so i understand how the loss is calculated here and the backprop of this information
the generator produces an output of size 3x64x64 but also effectively gets a loss based on how many times it fooled the discriminator. I don’t understand how this single loss value number is back propped into the 3x64x64 output. i’ve clearly missed something important !!
any guidance would be greatly appreciated. thanks