add ENABLE_GE

pull/2572/head
jinyaohui 5 years ago
parent 927278be44
commit 0332e4a854

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