!45222 fix spell error in lite CompileGraph
Merge pull request !45222 from xiaoyao/fix_error
This commit is contained in:
commit
eded85e2bb
|
@ -230,7 +230,7 @@ bool GeGraphExecutor::CompileGraph(const FuncGraphPtr &graph, const std::map<str
|
|||
}
|
||||
// opt::GeOptimization(origin_graph);
|
||||
(void)BuildDFGraph(kg, GetParams(kg), false);
|
||||
kernel_graph->set_run_mode(device::RunMode::kGraphMode);
|
||||
kg->set_run_mode(device::RunMode::kGraphMode);
|
||||
// copy init weight to device
|
||||
RunGeInitGraph(kg);
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue