Quiz: CNN Building Blocks and CNN for Classification

Test your knowledge of CNN building blocks, and how to use CNN for a classification task.

CNN Building Blocks and CNN for Classification

1

(Select all that apply.) The shape of the input tensor to a convolution layer is (N, 3, 32, 32). Which construction call would be suitable for this convolution layer?

A)
conv = torch.nn.Conv2d(in_channels=32, out_channels=3, kernel_size=(3, 3))
B)
conv = torch.nn.Conv2d(in_channels=3, out_channels=32, kernel_size=(5, 5))
C)
conv = torch.nn.Conv2d(in_channels=3, out_channels=64, kernel_size=(3, 3))
D)
conv = torch.nn.Conv2d(in_channels=1, out_channels=3, kernel_size=(5, 5))
Question 1 of 80 attempted

Get hands-on with 1200+ tech skills courses.