Mousius commented on a change in pull request #8423:
URL: https://github.com/apache/tvm/pull/8423#discussion_r708563165
##########
File path: src/relay/backend/te_compiler.cc
##########
@@ -565,7 +578,8 @@ class LowerTensorExprMutator : public ExprMutator {
}
// Lower the primitive function for that target.
- std::pair<GlobalVar, Attrs> pair = LowerFunction(prim_func, target);
+ Function func = GetRef<Function>(prim_func.as<FunctionNode>());
Review comment:
Thanks, I haven't fully learnt the TVM standard library yet :smile_cat:
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]