comaniac commented on issue #4933: [Relay] Target annotation for external codegen URL: https://github.com/apache/incubator-tvm/pull/4933#issuecomment-591063851 More specifically, ```python auto op = call->op; if (op.as<FunctionNode>()) { # Check function attribute "composite" which type is string. } else if (op.as<OpNode>()) { # Check op attribute "target.dnnl" which type is FTVMAnnotateTarget. } ``` Op attribute "target.dnnl" has to be registered as this PR has shown. Function attribute "composite" will be added by the merge composite pass. As a result, we don't have to register it again.
---------------------------------------------------------------- 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] With regards, Apache Git Services
