Question: 5 . 1 . Two - Dimensional Convolution as a Matrix - Vector Multiplication ( 1 0 points ) . Consider a convolutional neural network

5.1. Two-Dimensional Convolution as a Matrix-Vector Multiplication (10 points).
Consider a convolutional neural network layer consisting of a (33) convolution kernel filtering a (55) input image to produce a (33) output image without zero-padding. This convolution operation can be written as a matrix-vector multiply of the form
widehat(d)=Wx
where x is an (251)-element input vector that represents the input image in raster-scan (row-by-row) ordering, widehat(d) is a (91)-element output vector that represents the output image in raster-scan (row-by-row) ordering, and W is a matrix of dimensions (925) that has 81 non-zero entries that contain the elements of the (33) convolution kernel, defined as
W=[w11w12w13w21w22w23w31w32w33]
In the table below, write in the terms for the nonzero entries of W that correspond to the coefficients of the convolution kernel W. For your convenience, the entries of x and of widehat(d) are shown above and to the left, respectively, of the table.
\table[[W,x11,x12,x13,x14,x15,x21,x22,x23,x24,x25,x31,x32,x33,x34,x35,x41,x42,x43,x44,x45,x51,x52,x53,x54,x55
5 . 1 . Two - Dimensional Convolution as a Matrix

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!