Browse Source

!1183 implicit_type_conversion

Merge pull request !1183 from candanzg/implicit_type_conversion
tags/v0.3.0-alpha
mindspore-ci-bot Gitee 5 years ago
parent
commit
4009a8e57e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mindspore/ccsrc/pipeline/pipeline.cc

+ 2
- 2
mindspore/ccsrc/pipeline/pipeline.cc View File

@@ -244,13 +244,13 @@ void ExecutorPy::DelNetRes(const std::string &id) {
auto tmp_info = info_;
for (auto &item : tmp_info) {
if (item.first.find(id) != string::npos) {
MS_LOG(INFO) << "Delete network res:" << item.first;
MS_LOG(DEBUG) << "Delete network res:" << item.first;
(void)info_.erase(item.first);
flag = true;
}
}

MS_LOG(INFO) << "Delete flag:" << flag;
MS_LOG(DEBUG) << "Delete flag:" << flag;
#ifdef ENABLE_GE
if (flag && info_.size() == 0) {
// because Ge only support one Session exist at the same time ,so we delete the old one


Loading…
Cancel
Save