PyTorch Forums
Does the nn.funtional.grid_sample backwards grad to grid?
autograd
SimonW
(Simon Wang)
December 10, 2018, 8:42am
4
although you will get 0 grad grid if you are using it with nearest neighbor sampling
1 Like
Implementing custom backward function for grid_sample
show post in topic