!40147 clean code warnings

Merge pull request !40147 from zyli2020/embedding_cache_unify_runtime
This commit is contained in:
i-robot 2022-08-10 11:53:08 +00:00 committed by Gitee
commit 80b26a10e1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 2 deletions

View File

@ -520,8 +520,7 @@ bool PsEmbeddingCacheInserter::ConstructEmbeddingCacheGraph() const {
auto graph_manager = root_graph_->manager();
MS_EXCEPTION_IF_NULL(graph_manager);
graph_manager->Replace(root_graph_->output(), final_output_node);
return true;
return graph_manager->Replace(root_graph_->output(), final_output_node);
}
bool PsEmbeddingCacheInserter::Run() {