Skip to content

Commit

Permalink
fix str
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy committed Jun 26, 2020
1 parent 318d268 commit b815c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/relay/backend/graph_runtime_codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
param = empty(arr.shape, dtype=arr.dtype, ctx=arr.ctx)
arr.copyto(param)
params[key] = param
Expand Down

0 comments on commit b815c4e

Please sign in to comment.