Recently came across this NVIDIA pix2pixHD pytorch code 1 where they have called forward directly.
fake_image = self.netG.forward(input_concat) link here 2
pred_fake = self.netD.forward(torch.cat((input_label, fake_image), dim=1)) link here
Why so?