Skip to content

Commit

Permalink
fix a bad test refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Brookhart committed Sep 3, 2020
1 parent b7ef4a2 commit 4e3bb37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/relay/test_op_level10.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def verify_dynamic_batch_matmul(x_shape, y_shape, out_shape, dtype="float32"):
y_np = np.random.uniform(size=y_shape).astype(dtype)
z_np = tvm.topi.testing.batch_matmul(x_np, y_np)

for target, ctx in ctx_list():
for target, ctx in tvm.testing.enabled_targets():
for kind in ["vm", "debug"]:
mod = tvm.ir.IRModule.from_expr(func)
intrp = relay.create_executor(kind, mod=mod, ctx=ctx, target=target)
Expand Down

0 comments on commit 4e3bb37

Please sign in to comment.