diff options
author | Andreas Fidjeland <andreas@fidjeland.io> | 2014-02-25 21:49:37 +0400 |
---|---|---|
committer | Andreas Fidjeland <andreas@fidjeland.io> | 2014-02-25 21:49:37 +0400 |
commit | 4d63630dd70f0e26839c4ad244082aa91dcab2ed (patch) | |
tree | 3e560835ffaf537c7087906cce43126d9264d7bf /Mean.lua | |
parent | 5998d978e01c147520cb4191627592a0a167a4b6 (diff) |
nn.Mean works with CudaTensors
Diffstat (limited to 'Mean.lua')
-rw-r--r-- | Mean.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ function Mean:__init(dimension) end function Mean:updateOutput(input) - input.torch.mean(self.output, input, self.dimension) + self.output:mean(input, self.dimension) self.output = self.output:select(self.dimension, 1) return self.output end |