Where can I find the source code for torch.randperm()?

I have been wondering when I can find the source code for torch.randperm() ?
There is no autocompletion for torch.randperm in my vim.
Could help be provided?

Appreciated.