diff options
author | koray kavukcuoglu <koray@kavukcuoglu.org> | 2013-09-10 14:01:41 +0400 |
---|---|---|
committer | koray kavukcuoglu <koray@kavukcuoglu.org> | 2013-09-10 14:01:41 +0400 |
commit | 28ff66b48efbc8fa87a1fc082bbaceb8ae03896b (patch) | |
tree | 1ae29c9fe1e36c45c20a2f28b95ca4cef25644c3 | |
parent | 2cadd3b19ed2a39f562de9083f6e2a58e3411526 (diff) | |
parent | 0d1614859333943ceaba151837a6677f3bcdad15 (diff) |
Merge pull request #14 from schaul/master
Small clarifications to readme.
-rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -46,7 +46,7 @@ mlp:updateOutput(x) mlp:updateGradInput(x,dx) mlp:accGradParameters(x,dx) --- draw graph +-- draw graph (the forward graph, '.fg') graph.dot(mlp.fg,'MLP') @@ -55,6 +55,12 @@ graph.dot(mlp.fg,'MLP') <img src= "https://raw.github.com/koraykv/torch-nngraph/master/doc/mlp.png" width="300px"/> <!-- ![mlp](https://raw.github.com/koraykv/torch-nngraph/master/doc/mlp.png) --> +Read this diagram from top to bottom, with the first and last nodes being dummy nodes that regroup all inputs and outputs of the graph. +The 'module' entry describes the function of the node, as applies to 'input', and producing an result of the shape 'gradOutput'; 'mapindex' contains +pointers to the parent nodes. + + + ### A net with 2 inputs and 2 outputs ```lua |