Skip to content

Commit

Permalink
Merge branch 'master' into holly1238-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
holly1238 authored Apr 26, 2021
2 parents a5a0fed + bdbaa7a commit 2f809ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions beginner_source/blitz/neural_networks_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ class Net(nn.Module):

def __init__(self):
super(Net, self).__init__()
# 1 input image channel, 6 output channels, 3x3 square convolution
# 1 input image channel, 6 output channels, 5x5 square convolution
# kernel
self.conv1 = nn.Conv2d(1, 6, 3)
self.conv2 = nn.Conv2d(6, 16, 3)
self.conv1 = nn.Conv2d(1, 6, 5)
self.conv2 = nn.Conv2d(6, 16, 5)
# an affine operation: y = Wx + b
self.fc1 = nn.Linear(16 * 6 * 6, 120) # 6*6 from image dimension
self.fc1 = nn.Linear(16 * 5 * 5, 120) # 5*5 from image dimension
self.fc2 = nn.Linear(120, 84)
self.fc3 = nn.Linear(84, 10)

Expand Down

0 comments on commit 2f809ee

Please sign in to comment.