diff options
author | nicholas-leonard <nick@nikopia.org> | 2015-01-06 23:24:07 +0300 |
---|---|---|
committer | nicholas-leonard <nick@nikopia.org> | 2015-01-06 23:26:25 +0300 |
commit | 3c4f8c551f5859702c828cd085b4d1752e9c7655 (patch) | |
tree | 4c629e248289c9b617bcd52030b2237b2533b584 /Container.lua | |
parent | 3dcecf7c22745b13fd5ba85848423a346ec42ad2 (diff) |
nn.Container inheritance and torch.type(self) tostrings
Diffstat (limited to 'Container.lua')
-rw-r--r-- | Container.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Container.lua b/Container.lua index 125ab98..484a3be 100644 --- a/Container.lua +++ b/Container.lua @@ -1,7 +1,6 @@ -- This is code common to container modules, which are collections of -- smaller constituent modules like Parallel, Sequential, etc. -local Container, parent = - torch.class('nn.Container', 'nn.Module') +local Container, parent = torch.class('nn.Container', 'nn.Module') function Container:__init(...) parent.__init(self, ...) |