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:47:51 +0300
committerSoumith Chintala <soumith@fb.com>2016-07-26 00:47:51 +0300
commite56263ab800cfec86f06d7a15254d34dc35fb2bb (patch)
tree9e10396d3c6429956f3d039b78e930d18ab82026
parentf0bb562d745aef70f8fd2f2d9546dd7e9cbcb8c8 (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 7ab5fb5..7aa92e1 100644
--- a/blog/_posts/2016-05-11-nce.md
+++ b/blog/_posts/2016-05-11-nce.md
@@ -614,7 +614,7 @@ ncemodule:multicuda(3,4)
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
local masked = nn.MaskZero(ncemodule, 1):cuda()