✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
You are given a Convolutional Neural Network with an input of 4x4 on the left-hand side table and a kernel of 3x3 on the right-hand side table below.
4
|
8
|
0
|
1
|
0
|
0
|
2
|
4
|
0
|
1
|
5
|
3
|
7
|
1
|
0
|
0
|
Input
1
|
0
|
-1
|
0
|
0
|
0
|
-1
|
0
|
1
|
Kernel
Part A:
1. Apply padding = 1. Draw the input with padding (table style) and explain what you did
2. Using a stride = 1, padding = 1 of the input table, and the given kernel, calculate the output of the convolutional layer, showing how you computed each output pixel. Draw the final output table ( the output table must be of the same dimension as the input table) [25 marks].
Part B:
3. Using the original input table, down-sample the input using using a 2x2 filter. Draw the result of the pooling layer and show how you computed each pixel, explaining what the average pooling operation does