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

github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Gehring <jgehring@fb.com>2016-08-22 18:41:56 +0300
committerJonas Gehring <jgehring@fb.com>2016-08-22 18:41:56 +0300
commit65c178d48580068b98bba8033d4726d9a0234f61 (patch)
tree7df1617b5eb13d34faed6d158073495a4e4a8205 /init.lua
parent1dc1a83086cc1b8437f9405fd17dfc6f302f7a71 (diff)
A container for applying a single module to all table elements
This module can be useful when dealing with multi-dimensional mini-batches, for example when training recurrent neural networks (time X batch_size X elements). It simply clones the contained module as necessary and applies each clone to the respective input element.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index a9c68da..e5bafac 100644
--- a/init.lua
+++ b/init.lua
@@ -142,6 +142,7 @@ require('nn.MixtureTable')
require('nn.CriterionTable')
require('nn.FlattenTable')
require('nn.NarrowTable')
+require('nn.MapTable')
require('nn.Criterion')
require('nn.MSECriterion')