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

github.com/soumith/cudnn.torch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test_rnn.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_rnn.lua b/test/test_rnn.lua
index 859918b..33f6891 100644
--- a/test/test_rnn.lua
+++ b/test/test_rnn.lua
@@ -451,7 +451,7 @@ function cudnntest.testVariableLengthSequences()
{11, 4}
}
for _, pair in ipairs(corresponding) do
- sep, batched = unpack(pair)
+ local sep, batched = unpack(pair)
local diff = torch.csub(separate[sep], packedOutput[batched]):abs():sum()
mytester:assert(diff < 1e-7)
end