From 9e12d0e90f4c03891fb1fa1f61870b92930f26ad Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Tue, 6 Dec 2016 15:03:33 +0100 Subject: [PATCH] Update. --- test-profiler.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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)) -- 2.20.1