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:
authorZhou Mo <cdluminate@gmail.com>2016-08-13 18:35:50 +0300
committerZhou Mo <cdluminate@gmail.com>2016-08-13 18:35:50 +0300
commitb78d6d6a837b1426b14a7ada76a496c3e46b01b1 (patch)
treef4e2c3c2120f45d72c4920c3fc04cc08221068cd /Sum.lua
parent7bf5a99138d7b2f72733e0916b4568f71c9ecbd8 (diff)
Fix many spelling errors with tool `codespell`.
This patch is imported from Debian Package.
Diffstat (limited to 'Sum.lua')
-rw-r--r--Sum.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/Sum.lua b/Sum.lua
index 5d61c28..9ff73f8 100644
--- a/Sum.lua
+++ b/Sum.lua
@@ -36,8 +36,8 @@ end
function Sum:updateGradInput(input, gradOutput)
local dimension = self:_getPositiveDimension(input)
- -- zero-strides dont work with MKL/BLAS, so
- -- dont set self.gradInput to zero-stride tensor.
+ -- zero-strides don't work with MKL/BLAS, so
+ -- don't set self.gradInput to zero-stride tensor.
-- Instead, do a deepcopy
local size = input:size()
size[dimension] = 1