Hey,
I am trying to understand a example regarding training of a simple, fully connected net.
The model is trained with the input “data”.
output = self.model(data)
loss = F.nll_loss(output, target)
if loss.cpu().data.numpy()[0] > 10000:

What is the loss.data doing? Somehow relating the loss to the input data?
Thanks!