in_channels define the number of input channels for this particular convolution.
By default each kernel will use all input channels of the incoming activation and perform the convolution in the spatial dimensions.
CS231n - CNN 147 gives a good explanation of the general work flow on convolutions.
Let me know, if something is unclear or if I misunderstood your question.