Skip to content

Unit 7, Quiz 7.2 part 5 #90

Discussion options

You must be logged in to vote

You are absolutely right. Thanks for raising that. Just updated it.

We can also double check it via

from torch.nn import Conv2d
import torch

conv2d = Conv2d(1, 1, kernel_size=3, stride=2, padding=2)

img = torch.rand(1, 224, 224)
conv2d(img).size()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rasbt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants