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:
authorkoray kavukcuoglu <koray@kavukcuoglu.org>2013-09-10 14:01:41 +0400
committerkoray kavukcuoglu <koray@kavukcuoglu.org>2013-09-10 14:01:41 +0400
commit28ff66b48efbc8fa87a1fc082bbaceb8ae03896b (patch)
tree1ae29c9fe1e36c45c20a2f28b95ca4cef25644c3
parent2cadd3b19ed2a39f562de9083f6e2a58e3411526 (diff)
parent0d1614859333943ceaba151837a6677f3bcdad15 (diff)
Merge pull request #14 from schaul/master
Small clarifications to readme.
-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