tqchen commented on a change in pull request #6377:
URL: https://github.com/apache/incubator-tvm/pull/6377#discussion_r482255420
##########
File path: src/relay/transforms/fold_constant.cc
##########
@@ -230,7 +216,17 @@ class ConstantFolder : public ExprMutator {
auto entry_func = Downcast<Function>(mod->Lookup("main"));
expr = expr.as<FunctionNode>() == nullptr ? entry_func->body : entry_func;
- FInterpreter executor = GetInterpreter(mod);
+ using tvm::transform::PassContext;
Review comment:
We will need the make sure the context is set during the
`executor(input)` call besides the creation.
----------------------------------------------------------------
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:
[email protected]