diff options
author | Soumith Chintala <soumith@gmail.com> | 2014-06-18 20:47:38 +0400 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2014-06-18 20:47:38 +0400 |
commit | ea9cc1df751ddb144c08a13aab3add1ab0ce90a1 (patch) | |
tree | c3b11c064f839f348847bf5b8d4b402f94f4fcfa /test | |
parent | bd176eb40dc08ebabb60efe754be261a9574d88b (diff) | |
parent | 2a0c01885c4df4d60cbce2a7a7bb1649a0a0273a (diff) |
Merge pull request #16 from GeorgOstrovski/patch-1
changed precison threshold for LogSoftmax test
Diffstat (limited to 'test')
-rw-r--r-- | test/test.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.lua b/test/test.lua index 9b2a2c9..be17fd7 100644 --- a/test/test.lua +++ b/test/test.lua @@ -472,7 +472,7 @@ function nntest.LogSoftmax() local module = nn.LogSoftMax() local err = jac.testJacobian(module,input) - mytester:assertlt(err,expprecision, 'error on state ') + mytester:assertlt(err,1e-3, 'error on state ') local ferr,berr = jac.testIO(module,input) mytester:asserteq(ferr, 0, torch.typename(module) .. ' - i/o forward err ') |