!2571 add ENABLE_GE

Merge pull request !2571 from jinyaohui/backend
This commit is contained in:
mindspore-ci-bot 2020-06-24 17:21:04 +08:00 committed by Gitee
commit 9ea10a0022
1 changed files with 2 additions and 0 deletions

View File

@ -245,7 +245,9 @@ py::dict ExecutorPy::GetAllreduceFusion(const std::string &phase) {
}
void ExecutorPy::DelNetRes(const std::string &id) {
#ifdef ENABLE_GE
FinalizeBackend();
#endif
if (executor_ != nullptr) {
bool flag = false;
auto tmp_info = info_;