Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use torch's nonzero in smaller_indices
We used to convert to Numpy, call nonzero, then convert back to Torch, since the Numpy implementation was faster. It no longer is, so I remove this needless optimization
- Loading branch information