zhiics commented on issue #4933: [Relay] Target annotation for external codegen
URL: https://github.com/apache/incubator-tvm/pull/4933#issuecomment-591009487
 
 
   @mbaret We shouldn't even get to that line because the op in the call is not 
a primitive op, but a FunctionNode. We need to check the object type first. For 
example, we may have something like:
   
   ```c++
   auto op = call->op;
   if (op.as<FunctionNode>()) {
   } else if (op.as<OpNode>()) {
   } 
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to