We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9318a69 commit 2ae0c0fCopy full SHA for 2ae0c0f
tutorial-contents/401_CNN.py
@@ -62,7 +62,7 @@ def __init__(self):
62
nn.ReLU(), # activation
63
nn.MaxPool2d(kernel_size=2), # choose max value in 2x2 area, output shape (16, 14, 14)
64
)
65
- self.conv2 = nn.Sequential( # input shape (1, 28, 28)
+ self.conv2 = nn.Sequential( # input shape (1, 14, 14)
66
nn.Conv2d(16, 32, 5, 1, 2), # output shape (32, 14, 14)
67
68
nn.MaxPool2d(2), # output shape (32, 7, 7)
0 commit comments