PyTorch F.interpolate for many dimensions (e.g. 4D, 5D, 6D, 7D, …, n-D) I want to apply N-d interpolation to an (N+2)-d tensor for N>3.