-- Decor it for profiling
profiler.decor(model)
+print()
-- Create the data and criterion
profiler.print(model, nbSamples)
-print('----------------------------------------------------------------------')
+print()
print(string.format('Total model time %.02fs', modelTime))
print(string.format('Total data time %.02fs', dataTime))