What is the meaning of following PyTorch codes(from wgan lessons)?
one = torch.FloatTensor()
D_real = netD(real_data_v) //netD is discriminator network
D_real = D_real.mean() //find the mean
D_real is a PyTorch variable, usually we do not pass any parameter into the backward function, what is the meaning of passing a float tensor into it?Thanks