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:
authorAndrew Tulloch <andrew@tullo.ch>2014-11-21 10:38:45 +0300
committerAndrew Tulloch <andrew@tullo.ch>2014-11-21 10:39:22 +0300
commit6916775db4731b5c40656085471448be476a321d (patch)
treeecbe7b560e213c0b0fc4f1b7911f3a3057151e0d /Transpose.lua
parentb7c39f91f0e47309e16993a9b63a23040786d495 (diff)
Fix various unused variables in nn
Diffstat (limited to 'Transpose.lua')
-rw-r--r--Transpose.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/Transpose.lua b/Transpose.lua
index a43729b..263db60 100644
--- a/Transpose.lua
+++ b/Transpose.lua
@@ -18,7 +18,6 @@ function Transpose:updateOutput(input)
end
function Transpose:updateGradInput(input, gradOutput)
- local ndim = gradOutput:nDimension()
for i = #self.permutations,1,-1 do
local perm = self.permutations[i]
gradOutput = gradOutput:transpose(perm[1],perm[2])