Since torch.index_put has an accumulate option, it is in theory possible to implement grid_push in pure pytorch. It is also possible to implement grid_pull using fancy indexing. Maybe we should do this so that the package can be used even without being compiled? (push/pull would be a lot slower, but we would use the compiled version when available).
Since
torch.index_put
has anaccumulate
option, it is in theory possible to implementgrid_push
in pure pytorch. It is also possible to implementgrid_pull
using fancy indexing. Maybe we should do this so that the package can be used even without being compiled? (push/pull would be a lot slower, but we would use the compiled version when available).This has a low priority.