X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=dagnn.git;a=blobdiff_plain;f=test-dagnn.lua;h=d7179cc1b5110edb2b6666ce8a1604f6fe6d2102;hp=32eed5724f5ea84c8e55fe966b54e53021013902;hb=31dc42fc93ed12491ceb10ef3bfc4296878380ee;hpb=34ed0d49d9b6b03811cd92c9513edf4ec5d4d2d2 diff --git a/test-dagnn.lua b/test-dagnn.lua index 32eed57..d7179cc 100755 --- a/test-dagnn.lua +++ b/test-dagnn.lua @@ -58,6 +58,6 @@ printTensorTable(output) print('******************************************************************') print('** updateGradInput ***********************************************') print('******************************************************************') -gradInput = g:updateGradInput({ input }, output) +gradInput = g:updateGradInput({{input}}, output) printTensorTable(gradInput)