Skip to content

Commit

Permalink
Merge pull request #10 from xinqiu/master
Browse files Browse the repository at this point in the history
Chap 4 typo
  • Loading branch information
chenyuntc committed Jan 28, 2018
2 parents f13ec2d bd621da commit dae6854
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapter4-神经网络工具箱nn/chapter4.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 1237,7 @@
" self.submodel1 = nn.Linear(3, 4) \n",
" def forward(self, input):\n",
" x = self.param1.mm(input)\n",
" x = self.submodel11(x)\n",
" x = self.submodel1(x)\n",
" return x\n",
"net = Net()\n",
"net"
Expand Down Expand Up @@ -1350,7 1350,7 @@
}
],
"source": [
"for name, submodel in net. named_modules():\n",
"for name, submodel in net.named_modules():\n",
" print(name, submodel)"
]
},
Expand Down

0 comments on commit dae6854

Please sign in to comment.