X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=dagnn.git;a=blobdiff_plain;f=README.md;h=f2fac3072f987995918b3623cf66398cd8bc5c7b;hp=7d515667c3633b48a30719fce1bb104f3693b437;hb=79f9b2fc425c35c82e07db9cb762c2b04a992bdb;hpb=88c7c7e182bbaab9a49de49be77fe0895301ef1a diff --git a/README.md b/README.md index 7d51566..f2fac30 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # Introduction # -This package implements a new module nn.DAG which inherits from -nn.Container and allows to combine modules in an arbitrary graph -without cycle. +This package implements a new module nn.DAG for the torch framework, +which inherits from nn.Container and allows to combine modules in an +arbitrary graph without cycle. ## Example ## A typical use would be: -```Lua +```lua model = nn.DAG() a = nn.Linear(100, 10)