torch/nn — pull request #99 by nicholas-leonard (2014-11-11 20:01:43+00:00)
Title: LookupTable fixes and optimizations

This PR fixes #98 and optimizes a couple of other things. Also fixed a bug where self._indices was also being cast in :type(type) (yet it should always be LongTensor).