From 9a3180215cf6a2e3df39a9594c61551889705e01 Mon Sep 17 00:00:00 2001 From: KK Date: Sat, 22 Aug 2015 16:51:41 +0200 Subject: [PATCH] Fix typos in nn.MM example. --- doc/simple.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/simple.md b/doc/simple.md index ebb2d2fe9..a0b7bb2bd 100755 --- a/doc/simple.md +++ b/doc/simple.md @@ -902,7 +902,7 @@ The module also accepts 3D inputs which are interpreted as batches of matrices. model = nn.MM() A = torch.randn(b, m, n) B = torch.randn(b, n, p) -C = model.forward({A, B}) -- C will be of size `b x m x n` +C = model:forward({A, B}) -- C will be of size `b x m x p` ```