Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Canziani <alfredo.canziani@gmail.com>2016-03-03 05:10:30 +0300
committerAlfredo Canziani <alfredo.canziani@gmail.com>2016-03-03 05:10:30 +0300
commit8f935a1d53cebb07faca0b69eb5c075ca063a688 (patch)
tree0ea66b5e4bf4ef0a579370016ef5ced6dbdc4c56 /View.lua
parent3a2a1b42e6e6c61addbf82f1efaa7b35c2a3144f (diff)
Fix __tostring()__ formatting
Diffstat (limited to 'View.lua')
-rw-r--r--View.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/View.lua b/View.lua
index 831e4e3..31f15c8 100644
--- a/View.lua
+++ b/View.lua
@@ -92,5 +92,5 @@ function View:updateGradInput(input, gradOutput)
end
function View:__tostring__()
- return torch.type(self)..'('..table.concat(self.size:totable(),',')..')'
+ return torch.type(self)..'('..table.concat(self.size:totable(), ', ')..')'
end