Changed the timing display.
[profiler-torch.git] / test-profiler.lua
index 2f1f0ec..d17f320 100755 (executable)
@@ -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))