In the dcgan example, the G(z) output is copied over before pushing through D (link 7).
Is this done in order to avoid backpropagation through G?
Would this be an equivalent way of doing things?
fake = netG(noise)
fake = fake.detach() # this is not an inplace op, so need to re-assign?
output = netD(fake)