Question 2
An RGB image of size 227 × 227 × 3 is first converted to grayscale and then passed through a 2D Convolutional Neural Network (CNN) layer with the following parameters:
– Kernel size: 3 × 3
– Stride: 1
– Padding: 1
– Number of filters: 16
What will be the shape of the output feature map?
(227, 227, 3)
(227, 227, 16)
(225, 225, 16)
(114, 114, 16)