fix spell error in lite compile graph

This commit is contained in:
xiao_yao1994 2022-11-07 16:48:58 +08:00
parent 7262ee8ac9
commit 8a88c7f6a5
1 changed files with 1 additions and 1 deletions

View File

@ -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;