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 91818d6..4904f4f 100644
--- a/nerv/nn/layer_dag.lua
+++ b/nerv/nn/layer_dag.lua
@@ -251,7 +251,9 @@ function DAGLayer:update(bp_err, input, output)
-- print("update")
for id, ref in pairs(self.queue) do
-- print(ref.layer.id)
+ self.gconf.timer:tic("(update)"..ref.layer.id);
ref.layer:update(ref.err_inputs, ref.inputs, ref.outputs)
+ self.gconf.timer:toc("(update)"..ref.layer.id);
end
end