!27268 [MSLITE] Adjust log level.

Merge pull request !27268 from wangshaocong/bugfix
This commit is contained in:
i-robot 2021-12-06 11:14:06 +00:00 committed by Gitee
commit 9c6fa583f5
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ class MSOpsRegistry {
if (primitive_creators.find(name) != primitive_creators.end()) {
return primitive_creators[name];
} else {
MS_LOG(ERROR) << "Unsupported primitive type in Create: " << name;
MS_LOG(WARNING) << "Unsupported primitive type in Create: " << name;
return nullptr;
}
}

View File

@ -150,7 +150,7 @@ STATUS NodeInferShape::InferShape(const CNodePtr &cnode) {
return set_status;
}
} else {
MS_LOG(ERROR) << "infer shape failed.";
MS_LOG(WARNING) << "infer shape failed.";
}
return ret;
}