Open goodman1204 opened 4 years ago
I am not sure about the following code, can someone help to explain it? D_tc_loss = 0.5*(F.cross_entropy(D_z, zeros) + F.cross_entropy(D_z_pperm, ones))
They are just increasing the values of label 0 for D_z, and label 1 for D_z_pperm
I am not sure about the following code, can someone help to explain it?
D_tc_loss = 0.5*(F.cross_entropy(D_z, zeros) + F.cross_entropy(D_z_pperm, ones))