hunkim / PyTorchZeroToAll

Simple PyTorch Tutorials Zero to ALL!

Home Page:http://bit.ly/PyTorchZeroAll

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

L1 basic file

allanj opened this issue · comments

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