I have trouble finding the source code of torch.bmm(), which is defined in https://pytorch.org/cppdocs/api/function_namespaceat_1aac51f71f807ca70fd210814114520c34.html#exhale-function-namespaceat-1aac51f71f807ca70fd210814114520c34.
I have confidence it is located in namespace at, since it is referenced as at::bmm in other places. What I have searched through is :
- The directory Aten https://github.com/pytorch/pytorch/tree/34877448216149024f44cbcab830169fdb2fa7fb/aten/src/ATen
- The directory of caffe2 https://github.com/pytorch/pytorch/tree/74b65c32be68b15dc7c9e8bb62459efbfbde33d8/caffe2/core
- direct search in github with keyword bmm of c++ file
but have found nothing. Is there any systematic way to locate a function(in this case, bmm) in such a large project ?