!2261 modify log level from warning to info

Merge pull request !2261 from jjfeing/r0.3_log
This commit is contained in:
mindspore-ci-bot 2020-06-18 16:16:05 +08:00 committed by Gitee
commit 53d7e622f9
2 changed files with 4 additions and 5 deletions

View File

@ -140,7 +140,7 @@ uint32_t AscendLabelAssign::GetLabelNum(NotNull<const session::KernelGraph *> gr
std::lock_guard<std::mutex> lock(label_num_mutex_);
auto iter = label_num_.find(graph.get());
if (iter == label_num_.end()) {
MS_LOG(WARNING) << "Graph " << graph->ToString() << " has not assigned label.";
MS_LOG(INFO) << "Graph " << graph->ToString() << " has not assigned label.";
return 1;
}
return iter->second;

View File

@ -555,12 +555,11 @@ void AscendSession::SelectKernel(const KernelGraph &kernel_graph) const {
MS_LOG(INFO) << "Select ApplyKernel: " << cnode->DebugString();
}
if (raise_precision_count > 0) {
MS_LOG(DEBUG) << "There has " << raise_precision_count
<< " node/nodes used raise precision to selected the kernel!";
MS_LOG(INFO) << "There has " << raise_precision_count << " node/nodes used raise precision to selected the kernel!";
}
if (reduce_precision_count > 0) {
MS_LOG(DEBUG) << "There has " << reduce_precision_count
<< " node/nodes used reduce precision to selected the kernel!";
MS_LOG(INFO) << "There has " << reduce_precision_count
<< " node/nodes used reduce precision to selected the kernel!";
}
MS_LOG(INFO) << "Finish!";
}