Skip to content

Commit

Permalink
fix extract entry_func
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiics committed Jun 12, 2019
1 parent 3c54299 commit ec8e91a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/relay/backend/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,6 @@ def _interp_wrapper(*args, **kwargs):
self.mod = module.Module.from_expr(func)

mod = self.optimize()
opt_expr = Call(mod[mod.entry_func], relay_args)
opt_expr = Call(mod[self.mod.entry_func.name_hint], relay_args)
return self._intrp(opt_expr)
return _interp_wrapper

0 comments on commit ec8e91a

Please sign in to comment.