Skip to content

Commit

Permalink
Changed TVMCTVMContext to TVMContext (#6306)
Browse files Browse the repository at this point in the history
  • Loading branch information
mplemay authored Aug 21, 2020
1 parent e52c5ba commit 91ea9bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/contrib/graph_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def get_device_ctx(libmod, ctx):
ctx = [ctx]
elif not isinstance(ctx, (list, tuple)):
raise ValueError("ctx has to be the type of TVMContext or a list of "
"TVMCTVMContext")
"TVMContext")
for cur_ctx in ctx:
if not isinstance(cur_ctx, TVMContext):
raise ValueError("ctx has to be the type of TVMContext or a list "
Expand Down

0 comments on commit 91ea9bc

Please sign in to comment.