Hi,
In the UNQ_C2, it asked me to implement the gen_adversarial_loss, which from the slides and lecture, I believe it is the LeastSquaresLoss of disc_Y and the labels.
But in the exercise, I believe I should use torch.zeros_like
as labels, because what I fed into disc_Y is generated Y, which is considered as fake_Y. And there is no real_Y provided hence I cannot do the mean.
But the unit test doesn’t take my result, and believe torch.ones_like
should be used as label, which confused me.
Thanks!