Since there is some speed issue with Pytorch 1.0.0, we are using Pytorch 0.4.1 now.
However, I need torch.nn.function.grid_sample in Pytorch 1.0.0 because of ‘nearest’ mode.
Can I use this grid_sample function in Pytorch 1.0.0 with ‘nearest’ mode for Pytorch 0.4.1 code?