From afcf93eb06447924e811aea63df42547dc642741 Mon Sep 17 00:00:00 2001 From: Soumith Chintala Date: Tue, 25 Aug 2015 14:16:17 -0400 Subject: fixing doc. --- doc/simple.md | 4 ++-- 1 file 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` ``` -- cgit v1.2.3