You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/06/26 14:14:49 UTC

[GitHub] [incubator-tvm] tqchen commented on a change in pull request #5933: Fix string argument mismatch in GraphRuntimeCodegen

tqchen commented on a change in pull request #5933:
URL: https://github.com/apache/incubator-tvm/pull/5933#discussion_r446210500



##########
File path: python/tvm/relay/backend/graph_runtime_codegen.py
##########
@@ -85,7 +85,7 @@ def codegen(self, func):
         param_names = self._list_params_name()
         params = {}
         for key in param_names:
-            arr = self._get_param_by_name(key)
+            arr = self._get_param_by_name(str(key))

Review comment:
       This is something that we need to update in GraphRuntimeCodegen instead, to explicit get an String instead of str




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org