torch/optim — pull request #30 by nicholas-leonard (2014-10-22 14:34:23+00:00)
Title: Confusion:batchAdd supports cuda tensors

This PR adds support for target or prediction `torch.CudaTensors`. It also adds buffers for the `torch.max` to minimize memory allocations.