!2572 add ENABLE_GE

Merge pull request !2572 from jinyaohui/backend_master
pull/2572/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit fa7bc1bd58

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

Loading…
Cancel
Save