According to Pytorch documentation of Conv2D(c_in,c_out) (the other parameters are irrelevant for this question):
- c_in is the number of channels of the input image.
- c_out is the number of channel produced by the convolution layer
What I don't understand is how many kernels/filters there are. In many post I have seen that c_out is indeed the number of kernels and that would mean that if I have an input image of 3 channels, and I set c_out=10, the output would be 30 channels, but in reality I get 10 channels.