torch/nngraph — pull request #28 by fidlej (2014-04-03 13:28:06+00:00)
Title: Resized also the number of elements in a table

The nesting.resizeNestedAs() will now resize also the number of elements in a table.
New elements are allocated, if needed. And extra elements are removed, if needed.
This is useful if passing a table with a variable number of tensors to a network.