Update.
authorFrancois Fleuret <francois@fleuret.org>
Fri, 13 Jan 2017 06:55:20 +0000 (07:55 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Fri, 13 Jan 2017 06:55:20 +0000 (07:55 +0100)
test-dagnn.lua

index 462c287..3801956 100755 (executable)
@@ -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()