torch/nn — pull request #103 by ajtulloch (2014-11-17 20:33:33+00:00)
Title: [Torch] Use a scratch buffer in nn.Linear to reduce memory allocation

This reduces the amount of memory allocations in `Linear:updateOutput` and `Linear:accGradParameters`, and is lazily initialized for backwards compatibility.