The only valid mode is 'bilinear', but one can pass anything to it and it will not complain: ``` torch.nn.functional.grid_sample(array_5d, indices, mode='anything') ```