projects
/
dagnn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39ba70f
)
Update.
author
Francois Fleuret
<francois@fleuret.org>
Fri, 13 Jan 2017 06:55:20 +0000
(07:55 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Fri, 13 Jan 2017 06:55:20 +0000
(07:55 +0100)
test-dagnn.lua
patch
|
blob
|
history
diff --git
a/test-dagnn.lua
b/test-dagnn.lua
index
462c287
..
3801956
100755
(executable)
--- a/
test-dagnn.lua
+++ b/
test-dagnn.lua
@@
-23,9
+23,8
@@
require 'torch'
require 'nn'
require 'dagnn'
--- torch.setnumthreads(params.nbThreads)
torch.setdefaulttensortype('torch.DoubleTensor')
-torch.manualSeed(
2
)
+torch.manualSeed(
1
)
function checkGrad(model, criterion, input, target)
local params, gradParams = model:getParameters()