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