forked from mindspore-Ecosystem/mindspore
Fix serving mind ir
Signed-off-by: zjun <zhangjun0@huawei.com>
This commit is contained in:
parent
fc08ac5c47
commit
64f6cb401c
|
@ -404,6 +404,7 @@ GraphId GPUSession::CompileGraphImpl(NotNull<FuncGraphPtr> func_graph) {
|
|||
// Insert maketuple graph output in case of multi-outputs.
|
||||
// The ConvertTupleOutputToMaketuple pass will insert TupleGetItem.
|
||||
AnfAlgo::InsertMakeTupleForOutput(NOT_NULL(root_graph));
|
||||
SessionBasic::UnifyMindIR(root_graph);
|
||||
opt::BackendCommonOptimization(root_graph);
|
||||
return CompileGraphImpl(root_graph);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue