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:
authorClement Farabet <clement.farabet@gmail.com>2012-03-13 01:30:25 +0400
committerClement Farabet <clement.farabet@gmail.com>2012-03-13 01:30:25 +0400
commitd3d54935c0ac61d86f555d7b5f5f63af0bec83a6 (patch)
tree2167a153b88b90f2e11fa623852c29773f1cb549 /test
parent5f57c1dec9f3b4259f4b66bfda3bc8a79200e2fb (diff)
Restricted Jacobian test for LP to P=2. For P~=2, there's a singular point at 0.
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 1880da0..b1eded7 100644
--- a/test/test.lua
+++ b/test/test.lua
@@ -837,7 +837,7 @@ function nntest.SpatialLPPooling()
local fanin = math.random(1,4)
local osizex = math.random(1,4)
local osizey = math.random(1,4)
- local p = math.random(1,4)
+ local p = 2
local mx = math.random(2,8)
local my = math.random(2,8)
local dx = math.random(2,mx)