Skip to content

Commit

Permalink
remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiics committed Dec 2, 2020
1 parent 7fffa99 commit b61ac98
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/python/topi/python/test_topi_argwhere.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,11 @@ def check_device(device, ctx):

func = tvm.build(sch, [out_shape, condition, out], device, name="argwhere")

print(func.imported_modules[0].get_source())

args = [tvm.nd.array(np_shape, ctx)]
args.append(tvm.nd.array(np_data, ctx))
args.append(tvm.nd.empty(out.shape, ctx=ctx, dtype=condition.dtype))
func(*args)
np.set_printoptions(threshold=np.inf)
# print(args[-1].asnumpy())
tvm.testing.assert_allclose(args[-1].asnumpy(), np.array(np_out))

for target, ctx in tvm.testing.enabled_targets():
Expand Down

0 comments on commit b61ac98

Please sign in to comment.