aboutsummaryrefslogtreecommitdiff
path: root/nerv/nn/layer_dag.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nerv/nn/layer_dag.lua')
-rw-r--r--nerv/nn/layer_dag.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/nerv/nn/layer_dag.lua b/nerv/nn/layer_dag.lua
index 73bb77d..91818d6 100644
--- a/nerv/nn/layer_dag.lua
+++ b/nerv/nn/layer_dag.lua
@@ -262,7 +262,9 @@ function DAGLayer:propagate(input, output)
for i = 1, #self.queue do
local ref = self.queue[i]
-- print(ref.layer.id)
+ self.gconf.timer:tic("(propagate)"..ref.layer.id);
ret = ref.layer:propagate(ref.inputs, ref.outputs)
+ self.gconf.timer:toc("(propagate)"..ref.layer.id);
end
return ret
end