torch/cutorch — pull request #40 by dominikgrewe (2014-09-03 15:20:52+00:00)
Title: Make element-wise unary operators more consistent with Torch.

Added versions with two arguments of many unary operators to allow not-in-place
operations.
Made 'sign' and 'pow' operator resize the target tensor if necessary.
Added tests for all operators.