projects
/
profiler-torch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3debf6e
)
Update.
author
Francois Fleuret
<francois@fleuret.org>
Tue, 6 Dec 2016 10:02:44 +0000
(11:02 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Tue, 6 Dec 2016 10:02:44 +0000
(11:02 +0100)
test-profiler.lua
patch
|
blob
|
history
diff --git
a/test-profiler.lua
b/test-profiler.lua
index
71127a0
..
c43995d
100755
(executable)
--- 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
+-- Decor
ate
it for profiling
profiler.decorate(model)
+
print()
-torch.save('model.t7', model)
+
--
torch.save('model.t7', model)
-- Create the data and criterion