X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=dagnn.git;a=blobdiff_plain;f=dagnn.lua;h=ca51841f8442417d10097e6a6939fd86f3bceda2;hp=14cd5821c2064ac74b50dde101449d10d8f2274e;hb=39ba70f10f81274998bc6786747a33e00b313fb4;hpb=fe54a7c5c8425ee9783d82e16a42924e23add457 diff --git a/dagnn.lua b/dagnn.lua index 14cd582..ca51841 100755 --- a/dagnn.lua +++ b/dagnn.lua @@ -29,7 +29,7 @@ function DAG:__init() self.node = { } end --- Apply f on t recursively; use the corresponding element from args +-- Apply f on t recursively; use the corresponding elements from args -- (i.e. same keys) as second parameter to f when available; return -- the results from f, organized in a similarly nested table. function DAG:nestedApply(f, t, args)