提交 0332e4a8 编写于 作者: J jinyaohui

add ENABLE_GE

上级 927278be
......@@ -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_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册