From: Francois Fleuret Date: Tue, 6 Dec 2016 10:02:44 +0000 (+0100) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=profiler-torch.git;a=commitdiff_plain;h=b758f38fa8142256d754a5ba18d6a7932d6e203c Update. --- diff --git a/test-profiler.lua b/test-profiler.lua index 71127a0..c43995d 100755 --- a/test-profiler.lua +++ b/test-profiler.lua @@ -51,12 +51,13 @@ local model = nn.Sequential() ) :add(nn.Linear(1000, 100)) --- Decor it for profiling +-- Decorate it for profiling profiler.decorate(model) + print() -torch.save('model.t7', model) +-- torch.save('model.t7', model) -- Create the data and criterion