diff options
author | Soumith Chintala <soumith@gmail.com> | 2016-06-17 20:08:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-17 20:08:51 +0300 |
commit | fe1de8a47bab63594377924dc299b47d1e3e269c (patch) | |
tree | ec890f171d86dcd9a19ef298cee3db930466ae1e | |
parent | ebc749d12e8da52ff09b7293099836efb396e18a (diff) | |
parent | 4923ed4e62b1167dd9f4ea150573c0bb692b51b7 (diff) |
Merge pull request #53 from brollb/52-custom-layer-typo
Fixed typo in custom layer example. Fixes #52
-rw-r--r-- | docs/02-developer-docs.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/02-developer-docs.md b/docs/02-developer-docs.md index 4998748..73a2c53 100644 --- a/docs/02-developer-docs.md +++ b/docs/02-developer-docs.md @@ -117,7 +117,7 @@ Here is an empty holder for a typical new class: local NewClass, Parent = torch.class('nn.NewClass', 'nn.Module') function NewClass:__init() - parent.__init(self) + Parent.__init(self) end function NewClass:updateOutput(input) |