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
path: root/test
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2014-06-18 20:47:38 +0400
committerSoumith Chintala <soumith@gmail.com>2014-06-18 20:47:38 +0400
commitea9cc1df751ddb144c08a13aab3add1ab0ce90a1 (patch)
treec3b11c064f839f348847bf5b8d4b402f94f4fcfa /test
parentbd176eb40dc08ebabb60efe754be261a9574d88b (diff)
parent2a0c01885c4df4d60cbce2a7a7bb1649a0a0273a (diff)
Merge pull request #16 from GeorgOstrovski/patch-1
changed precison threshold for LogSoftmax test
Diffstat (limited to 'test')
-rw-r--r--test/test.lua2
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 ')