Question: Consider a convolutional layer with one filter W of size 2 2 applied to a 3 3 input matrix X: X = 5 1 0

Consider a convolutional layer with one filter W of size 22 applied to a 33 input matrix
X:
X =
510
243
024
and filter:
W =
21
11
The output of the convolution is passed through a sigmoid activation function, resulting in
the output matrix Y . Assume the gradient of the loss with respect to Y is:
L
Y
=
10
12
(a) Perform the forward pass and compute Y using a valid convolution. [5]
(b) Using backpropagation, compute the gradients of the loss with respect to the filter W
and the input X.[15Consider a convolutional layer with one filter W of size 22 applied to a 33 input matrix
X:
X =
510
243
024
and filter:
W =
21
11
The output of the convolution is passed through a sigmoid activation function, resulting in
the output matrix Y . Assume the gradient of the loss with respect to Y is:
L
Y
=
10
12
(a) Perform the forward pass and compute Y using a valid convolution. [5]
(b) Using backpropagation, compute the gradients of the loss with respect to the filter W
and the input X.[15

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!