diff options
author | Soumith Chintala <soumith@gmail.com> | 2015-08-25 21:16:17 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2015-08-25 21:16:17 +0300 |
commit | afcf93eb06447924e811aea63df42547dc642741 (patch) | |
tree | ee0557201869cd60b8f7b9c0555c5da323b3e042 | |
parent | 24fd108ef05d24cf93a7649ba39191556f45ee76 (diff) |
fixing doc.
-rwxr-xr-x | doc/simple.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/simple.md b/doc/simple.md index a0b7bb2..35446d7 100755 --- a/doc/simple.md +++ b/doc/simple.md @@ -938,12 +938,12 @@ The module only accepts 2D inputs. -- with learnable parameters model = nn.BatchNormalization(m) A = torch.randn(b, m) -C = model.forward(A) -- C will be of size `b x m` +C = model:forward(A) -- C will be of size `b x m` -- without learnable parameters model = nn.BatchNormalization(m, nil, nil, false) A = torch.randn(b, m) -C = model.forward(A) -- C will be of size `b x m` +C = model:forward(A) -- C will be of size `b x m` ``` <a name="nn.Padding"></a> |