projects
/
profiler-torch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a stupid and embarrassing typo.
[profiler-torch.git]
/
profiler.lua
diff --git
a/profiler.lua
b/profiler.lua
index
ad280d2
..
34e180b
100644
(file)
--- a/
profiler.lua
+++ b/
profiler.lua
@@
-37,7
+37,7
@@
require 'sys'
profiler = {}
profiler = {}
-function profiler.decor(model, functionsToDecorate)
+function profiler.decor
ate
(model, functionsToDecorate)
local functionsToDecorate = functionsToDecorate or
{
local functionsToDecorate = functionsToDecorate or
{
@@
-65,7
+65,7
@@
function profiler.decor(model, functionsToDecorate)
if torch.isTypeOf(model, nn.Container) then
for _, m in ipairs(model.modules) do
if torch.isTypeOf(model, nn.Container) then
for _, m in ipairs(model.modules) do
- profiler.decor(m, functionsToDecorate)
+ profiler.decor
ate
(m, functionsToDecorate)
end
end
end
end