Source Code: F.conv2d() Definition Location

The native implementation are not closed source and the CPU version can be found here, while the CUDA version is here.