Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
electriclilies committed Jul 7, 2020
1 parent e61d8ae commit dba1986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/relay/dyn/test_dynamic_op_level10.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_dyn_broadcast_to():
dyn_shape = (1,)*rank
ref_res = np.broadcast_to(x, dyn_shape)
for target, ctx in ctx_list():
if (target is not 'cuda'): #skip cuda because we don't have dynamic support for GPU
if (target != 'cuda'): #skip cuda because we don't have dynamic support for GPU
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 dba1986

Please sign in to comment.