nicholas-leonard/cunnx — pull request #11 by nicholas-leonard (2014-06-18 00:43:22+00:00)
Title: nn.Sort

Applies torch.sort along dimension dim to the input.
Returns a table of {sortedInputs, sortedIndices}
Used with BlockSparse