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) {
|
void ExecutorPy::DelNetRes(const std::string &id) {
|
||||||
|
#ifdef ENABLE_GE
|
||||||
FinalizeBackend();
|
FinalizeBackend();
|
||||||
|
#endif
|
||||||
if (executor_ != nullptr) {
|
if (executor_ != nullptr) {
|
||||||
bool flag = false;
|
bool flag = false;
|
||||||
auto tmp_info = info_;
|
auto tmp_info = info_;
|
||||||
|
|
Loading…
Reference in New Issue