X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=test-profiler.lua;h=6d98b2a22a9c6badb4ce4e3a48dda9f69d7041d5;hb=ac1c4d6fc4926dadc6b69fd17a54419e403530a6;hp=d17f320f27c43bb69e9298121238a0e1ea126933;hpb=e05c72d75cf6c53887834d3c314a8ba6db6b56b3;p=profiler-torch.git diff --git a/test-profiler.lua b/test-profiler.lua index d17f320..6d98b2a 100755 --- a/test-profiler.lua +++ b/test-profiler.lua @@ -86,7 +86,8 @@ end -- Print the accumulated timings -profiler.print(model, nbSamples) +-- profiler.print(model, nbSamples) +profiler.print(model) print() print(string.format('Total model time %.02fs', modelTime))