Is there anything similar to grid_sample for 1D input?

/is there any way I can make index selection diff wrt indices?

1 Like

I have the same question. I think it’s important for tasks like stereo matching.