Unverified Commit 7efb72e6 by Yizhi Liu Committed by GitHub

reminding message for TVM_REGISTER_NODE_TYPE (#4365)

parent 3914be5e
......@@ -155,7 +155,8 @@ class TypeContext {
uint32_t TypeKey2Index(const std::string& skey) {
auto it = type_key2index_.find(skey);
CHECK(it != type_key2index_.end())
<< "Cannot find type " << skey;
<< "Cannot find type " << skey
<< ". Did you forget to register the node by TVM_REGISTER_NODE_TYPE ?";
return it->second;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment