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

github.com/clementfarabet/lua---nnx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Farabet <clement.farabet@gmail.com>2011-09-04 09:59:01 +0400
committerClement Farabet <clement.farabet@gmail.com>2011-09-04 09:59:01 +0400
commit816f1bf40219624d87a9f8ea6bc8d50ae2b7e7c7 (patch)
treed893c23620cc9ada17decbf7de7e65ecb8924688
parent1e19ab7a53cd1c956f41752e615916b601214360 (diff)
Fixed stupid bug for SGD.
-rw-r--r--BatchOptimization.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/BatchOptimization.lua b/BatchOptimization.lua
index 8bf3e9a..ae7a6d9 100644
--- a/BatchOptimization.lua
+++ b/BatchOptimization.lua
@@ -25,8 +25,8 @@ function Batch:__init(...)
self.sampleCounter = 0
if self.parallelize > 1 or self.servers then
self:setup_mapreduce()
- self.P = self.parallelize
end
+ self.P = self.parallelize
end
function Batch:forward(inputs, targets, options)