Fixed a stupid and embarrassing typo.
[profiler-torch.git] / test-profiler.lua
index 7c22576..a78c944 100755 (executable)
@@ -48,9 +48,11 @@ local model = nn.Sequential()
 
 -- 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)