projects
/
profiler-torch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update.
[profiler-torch.git]
/
profiler.lua
diff --git
a/profiler.lua
b/profiler.lua
index
77461b3
..
9d493c0
100644
(file)
--- a/
profiler.lua
+++ b/
profiler.lua
@@
-77,7
+77,7
@@
function profiler.decorate(model, functionsToDecorate)
end
if not toDecorate[nameOrig] then
end
if not toDecorate[nameOrig] then
- print('Decorating ' .. toDecorate.__typename .. '.' .. name)
+
--
print('Decorating ' .. toDecorate.__typename .. '.' .. name)
toDecorate[nameOrig] = toDecorate[name]
toDecorate[name] = function(self, ...)
local startTime = sys.clock()
toDecorate[nameOrig] = toDecorate[name]
toDecorate[name] = function(self, ...)
local startTime = sys.clock()