Skip to content

Commit

Permalink
torch.tanh quickfix
Browse files Browse the repository at this point in the history
  • Loading branch information
justheuristic authored Oct 15, 2018
1 parent 27fb0ca commit 241ea9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion week7_[recap]_rnn/seminar_pytorch.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
" # hint: use torch.cat(..., dim=...) for concatenation\n",
" h_next = ###YOUR CODE HERE\n",
" \n",
" h_next = F.tanh(h_next)\n",
" h_next = torch.tanh(h_next)\n",
" \n",
" assert h_next.size() == h_prev.size()\n",
" \n",
Expand Down

0 comments on commit 241ea9b

Please sign in to comment.