You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file nn.py on line 79, the loss function receives the variable temp_out "loss_fn(temp_out, y)", but why didn't loss function receive the variable "out" returned from the layer "out = out + self.fc(temp_out)", instead of "temp_out", then "loss_fn(out, y)"?
The text was updated successfully, but these errors were encountered:
I feel like your question is justified. However, couldn't it be that instead of temp_out it should be the value of self.fc(temp_out), as evaluated in line 77?
This is because if you choose out, you would do the addition twice and the averaging only once.
In file nn.py on line 79, the loss function receives the variable temp_out "loss_fn(temp_out, y)", but why didn't loss function receive the variable "out" returned from the layer "out = out + self.fc(temp_out)", instead of "temp_out", then "loss_fn(out, y)"?
The text was updated successfully, but these errors were encountered: