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:
authorMarco Scoffier <github@metm.org>2011-08-31 06:40:09 +0400
committerMarco Scoffier <github@metm.org>2011-08-31 06:41:35 +0400
commit9d7cdf26db61f8537555fc5045732b5e5102e9ac (patch)
tree345bc2dfc1414cfff26ece35872f20fc79952417 /BatchOptimization.lua
parent44d0881898ad13800ec98dccc1e207301333071e (diff)
updates for useable Batch modules
Diffstat (limited to 'BatchOptimization.lua')
-rw-r--r--BatchOptimization.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/BatchOptimization.lua b/BatchOptimization.lua
index 93cbd2a..0951ae4 100644
--- a/BatchOptimization.lua
+++ b/BatchOptimization.lua
@@ -28,6 +28,7 @@ function Batch:__init(...)
if self.parallelize > 1 then
self:setup_mapreduce()
end
+ batch = {}
end
function Batch:forward(inputs, targets, options)