No, the out_channels value defines the number of kernels, and since it’s set to 2 the layer would use 2 kernels.
CS231n - Convolutional Layer 1 explains the kernel shapes with some nice illustrations and A guide to convolution arithmetic for deep learning is one of the best references when it comes to shape calculations.