Changed TVMCTVMContext to TVMContext (#6306)
authorMatthew LeMay <mplemay@users.noreply.github.com>
Fri, 21 Aug 2020 00:45:17 +0000 (20:45 -0400)
committerGitHub <noreply@github.com>
Fri, 21 Aug 2020 00:45:17 +0000 (17:45 -0700)
python/tvm/contrib/graph_runtime.py

index 22d0a8b..17c331d 100644 (file)
@@ -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 "