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

github.com/torch/torch.github.io.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@fb.com>2016-07-26 00:46:33 +0300
committerSoumith Chintala <soumith@fb.com>2016-07-26 00:46:33 +0300
commitf0bb562d745aef70f8fd2f2d9546dd7e9cbcb8c8 (patch)
tree299760ede637de5033f9a703fbb9fe7cea1971ab
parent289eebac6c879a08e92da0af15a78e1d3c83c2cb (diff)
syntax fix
-rw-r--r--blog/_posts/2016-05-11-nce.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/blog/_posts/2016-05-11-nce.md b/blog/_posts/2016-05-11-nce.md
index 70a6bcb..7ab5fb5 100644
--- a/blog/_posts/2016-05-11-nce.md
+++ b/blog/_posts/2016-05-11-nce.md
@@ -385,7 +385,7 @@ local ncemodule = nn.NCEModule(inputsize, #trainset.ivocab, opt.k, unigram, opt.
lm = nn.Sequential()
:add(nn.ParallelTable()
:add(lm):add(nn.Identity()))
- :add(nn.ZipTable()) -- {{x1,x2,...}, {t1,t2,...}} -> {{x1,t1},{x2,t2},...}
+ :add(nn.ZipTable())
-- encapsulate stepmodule into a Sequencer
lm:add(nn.Sequencer(nn.MaskZero(ncemodule, 1)))