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-07-24 07:14:13 +0400
committerClement Farabet <clement.farabet@gmail.com>2011-07-24 07:14:13 +0400
commitef1b66051dd39c6e0407de9df010bd48fbbd6722 (patch)
treeb0456edc57e3af652e206d6338cbb7da2651d913
parent5ca5f6f62693b84b6b0b8f170456b7441787933a (diff)
Removed auto empty, which is not compatible with certain modules.
E.g. certain modules still only resize their output at init time, and therefore are not robust to dynamic input sizes.
-rw-r--r--StochasticTrainer.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/StochasticTrainer.lua b/StochasticTrainer.lua
index a9a1a76..7576636 100644
--- a/StochasticTrainer.lua
+++ b/StochasticTrainer.lua
@@ -53,7 +53,6 @@ function StochasticTrainer:log()
end
print('<trainer> saving network to '..filename)
local file = torch.DiskFile(filename,'w')
- nnx.empty(self.module)
self.module:write(file)
file:close()
end