Permalink
Browse files

Update helpers.py

  • Loading branch information...
jgillis committed Feb 11, 2018
1 parent c84ba0c commit d3e0d8d3caa8cd7dcc4d20b35c0504c101ad63b0
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/python/helpers.py
@@ -451,7 +451,7 @@ def vec(l):
aseeds = [sym("a",spmod2(f.sparsity_out(i))) for i in range(f.n_out())]
inputss = [sym("i",f.sparsity_in(i)) for i in range(f.n_in())]
res = f.call(inputss,True)
print res, "sp", [i.sparsity().dim(True) for i in fseeds]
#print res, "sp", [i.sparsity().dim(True) for i in fseeds]
[fwdsens] = forward(res, inputss, [fseeds])
[adjsens] = reverse(res, inputss, [aseeds])

0 comments on commit d3e0d8d

Please sign in to comment.