torch/nn — pull request #3 by jameskirkpatrick (2014-01-07 09:02:02+00:00)
Title: getParameters can return empty tensor

If parameters() is not defined or returns an empty table,
getParameters() will return an empty tensor.