X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=dagnn.git;a=blobdiff_plain;f=dagnn.lua;h=92032640e9c250a8dfbc7db04871805bd2f319d2;hp=c6d54ad5a057d72c4029ee6c84b87a6e03a30e7d;hb=9dad4fa1118632bfa02c01e4d6a8a5a129061a54;hpb=0a630b54355382dfa68c0f3d51729bad0b4c58e6 diff --git a/dagnn.lua b/dagnn.lua index c6d54ad..9203264 100755 --- a/dagnn.lua +++ b/dagnn.lua @@ -42,7 +42,7 @@ end -- The main use should be to add an edge between two modules, but it -- can also add a full sequence of modules -function DAG:addEdge(...) +function DAG:connect(...) self.sorted = nil local prev for _, nnm in pairs({...}) do