There are files aten/src/ATen/native/FractionalMaxPool2d.cpp and aten/src/ATen/native/cuda/FractionalMaxPool2d.cu.
In general, I would recommend rgrep on thesource tree to find functions.
Functions are then exposed to Python by a few layers of magic 6.
Best regards
Thomas