You shouldn’t use the native functions directly. Please use the at::xxx or tensor.xxx bindings. For example, at::grid_sampler(input, grid).
Hmm is that enum not exposed? If so you should submit a feature request.