I don’t know the exact implementation of the convolution operation, but I doubt it’s the “vanilla” convolution.
Pete Warden explains in this blog post 66 how im2col works for convolutions, but since this post is from 2015, I am sure there are more efficient operations used today. 
Some core devs will surely have more insight.