X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=dagnn.git;a=blobdiff_plain;f=README.md;fp=README.md;h=662b8a885b43a5342e7dd917f16535cc025cb3e8;hp=3df18f5a24e81ae09837bf704479818ae288844e;hb=84b07c45eb8a2785a81cad7bcf6fadbac0d63f8f;hpb=f13855d442ddf0fc5dbecbd25622eadb67685ffb 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) ###