Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/threads-ffi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2015-05-13 07:40:28 +0300
committerSoumith Chintala <soumith@gmail.com>2015-05-13 07:40:28 +0300
commit150504d32d04f3548bbe850d6a382bad4a0b9f9d (patch)
tree88f62b5c145734b017331fffeb445dbca6b82ff1
parent840c06fed03b4e2c7dbad13adaed809bb5b0a610 (diff)
fixing typo
fixes #17
-rw-r--r--benchmark/threadedtrain.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/threadedtrain.lua b/benchmark/threadedtrain.lua
index 859b43f..588bf7a 100644
--- a/benchmark/threadedtrain.lua
+++ b/benchmark/threadedtrain.lua
@@ -25,7 +25,7 @@ local function threadedTrain(module, criterion, data, label, params)
end,
function()
- local module = module:clone('weights', 'bias')
+ local module = module:clone('weight', 'bias')
local weights, dweights = module:parameters()
local criterion = criterion:clone()
local data = data