From: Francois Fleuret Date: Sat, 14 Jan 2017 17:35:16 +0000 (+0100) Subject: OCD cosmetics. X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=dagnn.git;a=commitdiff_plain;h=84b07c45eb8a2785a81cad7bcf6fadbac0d63f8f OCD cosmetics. --- diff --git a/README.md b/README.md index 3df18f5..662b8a8 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ table of inputs reflecting the structure of the nested table of modules given as argument to DAG:setInput (respectively DAG:setOutput) So for instance, in the example above, the model expects a tensor as -input, since it is the input to the module a, and its output will is a +input, since it is the input to the module a, and its output is a table composed of two tensors, corresponding to the outputs of d and e respectively. @@ -88,9 +88,10 @@ calling it n-1 times on the pairs of successive arguments. ### nn.DAG:setInput(i) ### -Defines the content and structure of the input. The argument should be +Define the content and structure of the input. The argument should be either a module, or a (nested) table of modules. The input to the DAG -should be a (nested) table of inputs, with the corresponding structure. +should be a (nested) table of inputs, with the corresponding +structure. ### nn.DAG:setOutput(o) ### @@ -98,7 +99,7 @@ Similar to DAG:setInput(). ### nn.DAG:print() ### -Prints the list of nodes. +Print the list of nodes. ### nn.DAG:saveDot(filename) ###