projects
/
dagnn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Wow, seems to work (!)
[dagnn.git]
/
test-dagnn.lua
diff --git
a/test-dagnn.lua
b/test-dagnn.lua
index
0c9fe6d
..
32eed57
100755
(executable)
--- a/
test-dagnn.lua
+++ b/
test-dagnn.lua
@@
-42,14
+42,14
@@
g:addEdge(b, c)
g:addEdge(b, d)
g:addEdge(d, f)
-g:setInput({
a
})
+g:setInput({
{a}
})
g:setOutput({ e, f })
g:print()
input = torch.Tensor(3, 10):uniform()
-output = g:updateOutput({
input
})
+output = g:updateOutput({
{ input }
})
printTensorTable(output)