diff options
author | Soumith Chintala <soumith@fb.com> | 2016-07-26 00:47:51 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@fb.com> | 2016-07-26 00:47:51 +0300 |
commit | e56263ab800cfec86f06d7a15254d34dc35fb2bb (patch) | |
tree | 9e10396d3c6429956f3d039b78e930d18ab82026 | |
parent | f0bb562d745aef70f8fd2f2d9546dd7e9cbcb8c8 (diff) |
syntax fix
-rw-r--r-- | blog/_posts/2016-05-11-nce.md | 2 |
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() |