forked from OSSInnovation/mindspore
!6398 fix probalbility test case free too long
Merge pull request !6398 from chujinjin/fix_probability_test_case_free_too_long
This commit is contained in:
commit
4b81175071
|
@ -1274,13 +1274,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!";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue