Closed allanj closed 6 years ago
In the basic file: https://github.com/hunkim/PyTorchZeroToAll/blob/master/01_basics.py @49cab2b
Isn't line 27 should be loss(y_pred_val, y_val)
I just realize the loss already has the forward pass
In the basic file: https://github.com/hunkim/PyTorchZeroToAll/blob/master/01_basics.py @49cab2b
Isn't line 27 should be loss(y_pred_val, y_val)