Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/nngraph.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvo Danihelka <ivo@danihelka.net>2013-07-17 21:01:22 +0400
committerIvo Danihelka <ivo@danihelka.net>2013-07-17 21:01:22 +0400
commit060a3ddba4bf9c3186ea2d87ef9206fd90703484 (patch)
tree6ee8102c019a1f82865dbd87978f21cedbd7c14b
parent380274e5fd1ce81aaf72bc862eda58824a585421 (diff)
Removed unused function.
-rw-r--r--gmodule.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/gmodule.lua b/gmodule.lua
index bd09eaa..824f7a2 100644
--- a/gmodule.lua
+++ b/gmodule.lua
@@ -166,13 +166,6 @@ function gModule:updateGradInput(input,gradOutput)
end
local outputs = {}
local function neteval(node)
- local function propagate(node,x)
- for i,child in ipairs(node.children) do
- child.data.gradOutput = child.data.gradOutput or {}
- local mapindex = node.data.mapindex[child.data]
- table.insert(child.data.gradOutput,x[mapindex])
- end
- end
if node.data.data then
-- then this is a data node, just propagate into
-- its children