koraykv/torch-nngraph — pull request #9 by fidlej (2013-07-18 18:29:27+00:00)
Title: Used split() to define the input nodes

I simplified the gradInput obtaining, by using split() on the innode.
If the graph has multiple inputs, the innode is split.
Each input will then read just the matching output of the innode.