PyTorch: `torch.chunk` source code Github location
I can’t seem to find the source code for torch.chunk in PyTorch’s Github page or in the documentation.
Anyone knows where this is in PyTorch’s Github page?

Open the main GitHub project https://github.com/pytorch/pytorch
Then type in this page the keyboard shortcut t: you will enter the file finder mode (introduced in 2011). (https://github.com/pytorch/pytorch/find/master)
Type &quot;chunk.h&quot;: the first result will be your file.

If the file is not the right one (header but not source), then you need a search:
https://github.com/search?q=%22chunk%22+%22const+Tensor%22+repo%3Apytorch%2Fpytorch+extension%3Acpp+language%3AC%2B%2B+language%3AC%2B%2B&amp;type=Code
Search for chunk and &quot;const Tensor&quot; helps to refine rapidly the search results to TensorShape.cpp#chunk(), as noted in the comment.
