diff options
author | Clement Farabet <clement.farabet@gmail.com> | 2011-07-24 07:14:13 +0400 |
---|---|---|
committer | Clement Farabet <clement.farabet@gmail.com> | 2011-07-24 07:14:13 +0400 |
commit | ef1b66051dd39c6e0407de9df010bd48fbbd6722 (patch) | |
tree | b0456edc57e3af652e206d6338cbb7da2651d913 | |
parent | 5ca5f6f62693b84b6b0b8f170456b7441787933a (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.lua | 1 |
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 |