Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'import torch.nn.functional' before F is first used in Layers subsection #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Part2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"\n",
"This tutorial is designed to provide a short introduction to deep learning with PyTorch.\n",
"\n",
"You can start studying this tutorial as you work through unit 3 of the course.",
"\n",
"You can start studying this tutorial as you work through unit 3 of the course.\n",
"For more resources, check out [the PyTorch tutorials](https://pytorch.org/tutorials/)! There are many more in-depth examples available there.\n"
]
},
Expand Down Expand Up @@ -1037,6 +1036,8 @@
},
"outputs": [],
"source": [
"import torch.nn.functional as F\n",
"\n",
"# Make our own model!\n",
"\n",
"class Net(nn.Module):\n",
Expand Down Expand Up @@ -1553,7 +1554,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.3"
},
"toc": {
"base_numbering": 1,
Expand Down