Closed seanlatias closed 4 years ago
HeteroCL now cannot print intermediate values, which makes it hard for debugging. It would be good to have something like hcl.print. For example,
hcl.print
A = hcl.placeholder((10,)) B = hcl.compute(A.shape, lambda x: A[x]+1) hcl.print(B) // print the entire tensor hcl.print(B[0]) // print element
Solved by #178.
HeteroCL now cannot print intermediate values, which makes it hard for debugging. It would be good to have something like
hcl.print
. For example,