!40147 clean code warnings
Merge pull request !40147 from zyli2020/embedding_cache_unify_runtime
This commit is contained in:
commit
80b26a10e1
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue