-- Decor it for profiling
-profiler.decor(model)
+profiler.decorate(model)
print()
+torch.save('model.t7', model)
+
-- Create the data and criterion
local input = torch.Tensor(1000, 1000)
-- Print the accumulated timings
profiler.print(model, nbSamples)
+-- profiler.print(model)
print()
print(string.format('Total model time %.02fs', modelTime))