implicit type conversion

Signed-off-by: candanzg <zhangshucheng@huawei.com>
pull/1183/head
candanzg 5 years ago
parent aacb03563e
commit 539550e40a

@ -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