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 2021/03/02 02:33:24 UTC
[GitHub] [tvm] sunjiweiswift opened a new issue #7560: Suggest to R CallFunc
sunjiweiswift opened a new issue #7560:
URL: https://github.com/apache/tvm/issues/7560
https://github.com/apache/tvm/blob/a1d43c15ac6382831370c6de141bf80888761e70/src/relay/backend/build_module.cc#L106-L115
If there are special requirements for returning, such as returning an Int.
template <typename... Args>
int CallFunc(const std::string& name, Args... args) {
auto pf = mod.GetFunction(name, false);
pf(std::forward<Args>(args)...);
return;
}
CallFunc<int>(). It will only match R CallFunc.
solution: https://github.com/sunjiweiswift/BeautifulCode/tree/master/Template
----------------------------------------------------------------
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
[GitHub] [tvm] tqchen closed issue #7560: Suggest to R CallFunc
Posted by GitBox <gi...@apache.org>.
tqchen closed issue #7560:
URL: https://github.com/apache/tvm/issues/7560
----------------------------------------------------------------
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
[GitHub] [tvm] tqchen commented on issue #7560: Suggest to R CallFunc
Posted by GitBox <gi...@apache.org>.
tqchen commented on issue #7560:
URL: https://github.com/apache/tvm/issues/7560#issuecomment-789800737
Thanks @sunjiweiswift do you want to open a PR for this? Given this is not a bug and a code improvement instead I will mark it as closed for now. Thank you for your suggestion
----------------------------------------------------------------
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