projects
/
platform
/
upstream
/
tvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e52c5ba
)
Changed TVMCTVMContext to TVMContext (#6306)
author
Matthew LeMay
<mplemay@users.noreply.github.com>
Fri, 21 Aug 2020 00:45:17 +0000
(20:45 -0400)
committer
GitHub
<noreply@github.com>
Fri, 21 Aug 2020 00:45:17 +0000
(17:45 -0700)
python/tvm/contrib/graph_runtime.py
patch
|
blob
|
history
diff --git
a/python/tvm/contrib/graph_runtime.py
b/python/tvm/contrib/graph_runtime.py
index
22d0a8b
..
17c331d
100644
(file)
--- a/
python/tvm/contrib/graph_runtime.py
+++ b/
python/tvm/contrib/graph_runtime.py
@@
-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 "
- "TVMC
TVMC
ontext")
+ "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 "