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:
authorngimel <ngimelshein@nvidia.com>2017-05-30 22:40:07 +0300
committerGitHub <noreply@github.com>2017-05-30 22:40:07 +0300
commitb76500ec0291172bb95a08a03f4bdc835711ea6c (patch)
treeaa6503ad3a3045a7707ee74dabd9e52db5b7014e
parent0cb84cadfcbdc19bb63f5f765173b0d948c65e98 (diff)
parent80c6d35dfb57df1e1649a21b679b66e8db0e93ea (diff)
Merge pull request #369 from soumith/typo-varseqlenR6
Fix typo in var length sequence test tolerance
-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 0372983..69cc740 100644
--- a/test/test_rnn.lua
+++ b/test/test_rnn.lua
@@ -460,7 +460,7 @@ function cudnntest.testVariableLengthSequences()
end
local hdiff = torch.csub(packedHiddenOutput, hids):abs():sum()
- mytester:assert(hdiff < 1e7)
+ mytester:assert(hdiff < 2e-7)
-- Step 2: update grad input as batch and individually