From: Francois Fleuret Date: Tue, 6 Dec 2016 14:03:33 +0000 (+0100) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=9e12d0e90f4c03891fb1fa1f61870b92930f26ad;p=profiler-torch.git Update. --- diff --git a/test-profiler.lua b/test-profiler.lua index c43995d..ed6a1cb 100755 --- a/test-profiler.lua +++ b/test-profiler.lua @@ -55,8 +55,6 @@ local model = nn.Sequential() profiler.decorate(model) -print() - -- torch.save('model.t7', model) -- Create the data and criterion @@ -94,8 +92,9 @@ end -- Print the accumulated timings --- profiler.print(model, nbSamples) -profiler.print(model) +print() +profiler.print(model, nbSamples) +-- profiler.print(model) print(string.format('Total model time %.02fs', modelTime)) print(string.format('Total data time %.02fs', dataTime))