[TorchToLinalg] remove `extract_slice` from lowering of grid_sample
Instead of using extract_slice for grid sampler (which only currently uses the 4D grid), use the iteration space of the result type and tensor.extract ops to access the coords within the grid operand. This should be a more canonical way to perform the lowering of grid_sample.
https://github.com/iree-org/iree/pull/17692
Hi @IanWood1, can you please address the comment and update the PR?
Hi @IanWood1, can you please address the comment and update the PR?
updated!
@IanWood1 If you don't have merge permissions, let me know and I'll squash and merge this when you are ready.
@zjgarvey I just got them last week, but thank you. and thanks for the review