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
diff options
context:
space:
mode:
authorTom Schaul <schaul@gmail.com>2013-09-10 13:56:57 +0400
committerTom Schaul <schaul@gmail.com>2013-09-10 13:56:57 +0400
commit0d1614859333943ceaba151837a6677f3bcdad15 (patch)
tree1ae29c9fe1e36c45c20a2f28b95ca4cef25644c3 /README.md
parent2cadd3b19ed2a39f562de9083f6e2a58e3411526 (diff)
Small clarifications to readme.
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index aab5866..12416e8 100644
--- a/README.md
+++ b/README.md
@@ -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