Skip to content

Commit

Permalink
Merge pull request torch#354 from kkurach/patch-1
Browse files Browse the repository at this point in the history
Fix typos in nn.MM example.
  • Loading branch information
soumith committed Aug 22, 2015
2 parents 5659715 + 9a31802 commit b87b263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
```


Expand Down

0 comments on commit b87b263

Please sign in to comment.