forked from mindspore-Ecosystem/mindspore
add ENABLE_GE
This commit is contained in:
parent
fe1d4ca3bd
commit
bb17bc4081
|
@ -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…
Reference in New Issue