(input, grid)
| 25 | #---------------------------------------------------------------------------- |
| 26 | |
| 27 | def grid_sample(input, grid): |
| 28 | if _should_use_custom_op(): |
| 29 | return _GridSample2dForward.apply(input, grid) |
| 30 | return torch.nn.functional.grid_sample(input=input, grid=grid, mode='bilinear', padding_mode='zeros', align_corners=False) |
| 31 | |
| 32 | #---------------------------------------------------------------------------- |
| 33 |
nothing calls this directly
no test coverage detected