For example, we have RGB-image with 3 channels (Red, Green, Blue). And we use convolutional neural network.
Does each convolutional filter always have 3 different coefficients for each of the channels (R,G,B) of image?
I.e. does filter-W1 has 3 different coefficient matrices:
W1[::0], W1[::1], W1[::2]
as shown in the picture below?Or are often used the same coefficients in one filter in modern neural networks (
W1[::0] = W1[::1] = W1[::2]
)?
Taken by link: http://cs231n.github.io/convolutional-networks/
Also: http://cs231n.github.io/convolutional-networks/#conv
Convolutional Layer
...
The extent of the connectivity along the depth axis is always equal to the depth of the input volume. It is important to emphasize again this asymmetry in how we treat the spatial dimensions (width and height) and the depth dimension: The connections are local in space (along width and height), but always full along the entire depth of the input volume.