Skip to content

Commit

Permalink
flake8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vvchernov committed Mar 1, 2022
1 parent 1a9a7fc commit b459617
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onnxruntime/python/providers/tvm/ort.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_tvm_executor(irmod, executor, target, params):
"relay.backend.use_auto_scheduler": True,
"relay.FuseOps.max_depth": 30,
}
):
):
if nhwc:
seq = tvm.transform.Sequential(
[
Expand Down Expand Up @@ -130,7 +130,7 @@ def get_tvm_executor(irmod, executor, target, params):
m = graph_executor.GraphModule(lib["default"](ctx))
else:
print("ERROR: Executor type {} is unsupported. ".format(executor),
"Only \"vm\" and \"graph\" types are supported")
"Only \"vm\" and \"graph\" types are supported")
return None

return m.module

0 comments on commit b459617

Please sign in to comment.