From 8a29f3b86ed81efe881768058a79eb7c785e81ce Mon Sep 17 00:00:00 2001 From: chujinjin Date: Thu, 17 Sep 2020 11:13:52 +0800 Subject: [PATCH] fix probability test case free too long --- mindspore/ccsrc/backend/session/session_basic.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mindspore/ccsrc/backend/session/session_basic.cc b/mindspore/ccsrc/backend/session/session_basic.cc index 350f185085..b18aa02fd1 100644 --- a/mindspore/ccsrc/backend/session/session_basic.cc +++ b/mindspore/ccsrc/backend/session/session_basic.cc @@ -1270,13 +1270,6 @@ void SessionBasic::CreateOutputNode(const CNodePtr &cnode, const std::shared_ptr // create output auto g_output = graph->NewCNode(make_tuple_inputs); graph->set_output(g_output); - // set graph manager,which now is only used to get valuenodes and hardware optimizing - MS_EXCEPTION_IF_NULL(context_); - FuncGraphManagerPtr manager = context_->manager(); - if (manager != nullptr) { - manager->AddFuncGraph(graph); - graph->set_manager(manager); - } MS_LOG(INFO) << "Finish!"; }