!47271 change error log to warining

Merge pull request !47271 from lianliguang/r2.0.0-alpha
This commit is contained in:
i-robot 2022-12-29 07:28:58 +00:00 committed by Gitee
commit d18c31daa5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ abstract::AnalysisResult AbstractAnalyze(const ResourcePtr &resource, const Func
auto is_load = primitive->GetAttr("is_load");
if (abstract::GetPrimEvaluator(primitive, engine) == nullptr && is_load != nullptr &&
GetValue<bool>(is_load)) {
MS_LOG(ERROR) << "The primitive is not defined in front end. Primitive: " << primitive->ToString();
MS_LOG(WARNING) << "The primitive is not defined in front end. Primitive: " << primitive->ToString();
continue;
}
}