torch/cutorch — pull request #51 by nicholas-leonard (2014-10-05 22:07:50+00:00)
Title: torch.CudaTensor.squeeze

This PR adds support for `torch.squeeze` to `torch.CudaTensors`. It includes unit tests.

I also simplified `expand`, `viewAs` and `repeatTensor` unit tests (they were retesting things that were already tested within `compareFloatAndCuda`.