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

github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2015-08-25 21:16:17 +0300
committerSoumith Chintala <soumith@gmail.com>2015-08-25 21:16:17 +0300
commitafcf93eb06447924e811aea63df42547dc642741 (patch)
treeee0557201869cd60b8f7b9c0555c5da323b3e042
parent24fd108ef05d24cf93a7649ba39191556f45ee76 (diff)
fixing doc.
-rwxr-xr-xdoc/simple.md4
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>