X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=profiler-torch.git;a=blobdiff_plain;f=test-profiler.lua;h=d17f320f27c43bb69e9298121238a0e1ea126933;hp=2f1f0ec7883d993eb222ba5f7404da1257e7e41d;hb=e05c72d75cf6c53887834d3c314a8ba6db6b56b3;hpb=1cc41a13ae500ceaf037b3ff880a0eeb25472633 diff --git a/test-profiler.lua b/test-profiler.lua index 2f1f0ec..d17f320 100755 --- a/test-profiler.lua +++ b/test-profiler.lua @@ -49,6 +49,7 @@ local model = nn.Sequential() -- Decor it for profiling profiler.decor(model) +print() -- Create the data and criterion @@ -87,6 +88,6 @@ end profiler.print(model, nbSamples) -print('----------------------------------------------------------------------') +print() print(string.format('Total model time %.02fs', modelTime)) print(string.format('Total data time %.02fs', dataTime))