News

local function o(l,o,n,e)if#l>1and l[#l].x1==n-1and l[#l].p==o then l[#l].x2=e else add(l,{p=o,x1=n,x2=e})end end local function d(n,l,e,c,a)if l<16then o(n[1],l,e,c ...
Example of "coupled" separate encoder and decoder networks, e.g. for sequence-to-sequence networks. dec.lstmLayers[i].userPrevOutput = nn.rnn.recursiveCopy(dec ...