diff options
author | Ivo Danihelka <ivo@danihelka.net> | 2013-07-17 21:01:22 +0400 |
---|---|---|
committer | Ivo Danihelka <ivo@danihelka.net> | 2013-07-17 21:01:22 +0400 |
commit | 060a3ddba4bf9c3186ea2d87ef9206fd90703484 (patch) | |
tree | 6ee8102c019a1f82865dbd87978f21cedbd7c14b | |
parent | 380274e5fd1ce81aaf72bc862eda58824a585421 (diff) |
Removed unused function.
-rw-r--r-- | gmodule.lua | 7 |
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 |