From: Francois Fleuret Date: Fri, 13 Jan 2017 06:55:20 +0000 (+0100) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=2de7b6da5330f15b0aef73cdff7cae472c25b037;p=dagnn.git Update. --- diff --git a/test-dagnn.lua b/test-dagnn.lua index 462c287..3801956 100755 --- 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()