diff options
author | ngimel <ngimelshein@nvidia.com> | 2017-05-30 22:40:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-30 22:40:07 +0300 |
commit | b76500ec0291172bb95a08a03f4bdc835711ea6c (patch) | |
tree | aa6503ad3a3045a7707ee74dabd9e52db5b7014e | |
parent | 0cb84cadfcbdc19bb63f5f765173b0d948c65e98 (diff) | |
parent | 80c6d35dfb57df1e1649a21b679b66e8db0e93ea (diff) |
Merge pull request #369 from soumith/typo-varseqlenR6
Fix typo in var length sequence test tolerance
-rw-r--r-- | test/test_rnn.lua | 2 |
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 |