How to check the code of 'grid_sampler'

Hello, I want to check how the bilinear work in torch.nn.functional.grid_sample. I tracked to torch.grid_sampler, then I don’t know how to check the code of grid_sampler. Please give me some help, thanks!

1 Like