diff options
author | Jonas Gehring <jgehring@fb.com> | 2016-08-22 18:41:56 +0300 |
---|---|---|
committer | Jonas Gehring <jgehring@fb.com> | 2016-08-22 18:41:56 +0300 |
commit | 65c178d48580068b98bba8033d4726d9a0234f61 (patch) | |
tree | 7df1617b5eb13d34faed6d158073495a4e4a8205 /init.lua | |
parent | 1dc1a83086cc1b8437f9405fd17dfc6f302f7a71 (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.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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') |