billishyahao commented on code in PR #11513: URL: https://github.com/apache/tvm/pull/11513#discussion_r893259944
########## src/relay/backend/contrib/dnnl/codegen.cc: ########## @@ -507,6 +540,9 @@ class DNNLJSONSerializer : public backend::contrib::JSONSerializer { std::vector<std::string> op_list = ParsingOpList(name); call = GetRootCall(fn->body.as<CallNode>(), op_list.size() - 1, op_list); ICHECK(call->op.as<OpNode>()) << "Not op node"; + } else if (name.find("gelu") != std::string::npos) { Review Comment: Sure. I will add some explanation here to eliminate confusion. Thanks! -- 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: commits-unsubscr...@tvm.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org