torch/torch7 — pull request #67 by nicholas-leonard (2014-09-13 13:11:12+00:00)
Title: Harmonized expand, expandAs and repeatTensor

Like the `view` method, the subject methods now accept an optional `result` tensor. The PR includes two new unit tests : `expand` and `repeatTensor`.