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
AgeCommit message (Collapse)Author
2016-08-04overload operator __unm and __sub to support module chaining (#113)WenLi Zhuang
* add operator support * Update README.md
2016-02-13include and paths.dofile -> requirerequireSoumith Chintala
2015-12-18Allow to do node:split(1).Ivo Danihelka
2015-11-20Fix for Lua 5.2+ which removed table.maxnMalcolm Reynolds
2015-11-19Make error messages clearer, disallow empty table in inputs.Malcolm Reynolds
This is intended to address the common class of errors I see where people make a mistake connecting up their modules, but the error message is either unclear, or doesn't point towards where the mistake actually is. The 'what is this in the input' is now explicit about what the problem is, and if people pass in a nn.Module (meaning they probably forgot a set of parentheses) instead of a nngraph.Node, we say this explicitly. The '1 of split(2) outputs unused' (which previously provided no information about which split was incorrect) now includes file / line number of both the place where the Node was constructed, and the place where :split() was called. Hopefully this should reduce debugging time drastically. Finally, I have disallow passing an empty table as the input connections, ie 'nn.Identity()({})' will error. I cannot see a use case for this (if you have no input connections, just leave the second parens empty). The risk of this is when people do 'nn.Identity()({variableWithTypo})', thinking they have made a connection but actually they haven't. This is likely to cause errors much later on, whereas with this commit it errors straight away. This *could* break existing code, but theres an easy to apply fix that needs to be done at each callsite. Koray has approved this restriction to the API, but I appreciate others may have a view here..
2015-10-19Add nngraph.nest() utility function.Ivo Danihelka
2015-09-11make sure forward/backward runs can deal with parameter nodes since theynnopKoray Kavukcuoglu
do not have any inputs coming in. add a display function that does not use qt, but browser
2015-09-07Replace utils.istensor with torch.isTensor.Dan Horgan
torch.isTensor is more precise.
2015-09-04Whitespace cleanup.Clement Farabet
2014-08-19Added nn.ModuleFromCriterion to wrap a called Criterion.Ivo Danihelka
2014-06-03Print graphs that ignores certain nodesJames Kirkpatrick
Nodes with no module attached (splits) and nodes with certain modules (e.g. Identity) are ignored. The corresponding edges are re-routed.
2014-03-14Disallowed to use Identity()(nil). Use Identity()().Ivo Danihelka
2014-03-03Saved the graph .svg when nngraph.setDebug(true) is enabled.Ivo Danihelka
2013-07-19Used tostring() when printing a weird node.Ivo Danihelka
2013-07-18Removed an unused var.Ivo Danihelka
2013-07-18Removed the partial support for nn.Criterion. Wrap the criterion by a module ↵Ivo Danihelka
instead.
2013-07-18Removed the ignoring of weird nodes.Ivo Danihelka
2013-07-18Removed the not-needed nn.IdentityTable. Use nn.Identity instead.Ivo Danihelka
2013-06-03add split method to split a table output into multiple nodes.koray kavukcuoglu
move utility functions into their own file add an IdentityTable class to nn, that can be used to merge outputs of multiple nodes into a single node
2013-04-12cleanup leftover commentskoray kavukcuoglu
add a new call syntax that can handle nn modules with table outputs (like ParallelTable).
2013-04-04do not rely on node ordering for input/output connections.koray kavukcuoglu
2013-04-02init in gitkoray kavukcuoglu