diff options
author | Clement Farabet <clement.farabet@gmail.com> | 2011-09-04 09:59:01 +0400 |
---|---|---|
committer | Clement Farabet <clement.farabet@gmail.com> | 2011-09-04 09:59:01 +0400 |
commit | 816f1bf40219624d87a9f8ea6bc8d50ae2b7e7c7 (patch) | |
tree | d893c23620cc9ada17decbf7de7e65ecb8924688 | |
parent | 1e19ab7a53cd1c956f41752e615916b601214360 (diff) |
Fixed stupid bug for SGD.
-rw-r--r-- | BatchOptimization.lua | 2 |
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) |