diff options
author | Nicholas Leonard <nick@nikopia.org> | 2014-11-27 02:09:39 +0300 |
---|---|---|
committer | Nicholas Leonard <nick@nikopia.org> | 2014-11-27 02:09:39 +0300 |
commit | cc7ce5c95ebde85126039eb203fd8e60c628d521 (patch) | |
tree | 347b04b3ebbe0735dd3749b8fe4cffb3bb943b53 /Concat.lua | |
parent | 70f542492cbde0cf7f16afc915a3b8b674b77bd0 (diff) |
nn.Concat.__tostring__() prints torch.type(self)
Diffstat (limited to 'Concat.lua')
-rw-r--r-- | Concat.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -142,7 +142,7 @@ function Concat:__tostring__() local ext = ' | ' local extlast = ' ' local last = ' ... -> ' - local str = 'nn.Concat' + local str = torch.type(self) str = str .. ' {' .. line .. tab .. 'input' for i=1,#self.modules do if i == self.modules then |