From 95963ac5a5031333ca734b063f7800c7a5a14f5b Mon Sep 17 00:00:00 2001 From: zhaoxinxin Date: Mon, 30 Nov 2020 21:00:07 +0800 Subject: [PATCH] modified: ge/graph/passes/replace_with_empty_const_pass.cc --- ge/graph/passes/replace_with_empty_const_pass.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/graph/passes/replace_with_empty_const_pass.cc b/ge/graph/passes/replace_with_empty_const_pass.cc index bf407914..f3887867 100644 --- a/ge/graph/passes/replace_with_empty_const_pass.cc +++ b/ge/graph/passes/replace_with_empty_const_pass.cc @@ -74,7 +74,7 @@ Status ReplaceWithEmptyConstPass::Run(NodePtr &node) { GELOGD("ReplaceWithEmptyConstPass end."); return SUCCESS; } -Status GetOutputsOfCurrNode(const NodePtr &node_to_replace, vector &outputs) { +Status ReplaceWithEmptyConstPass::GetOutputsOfCurrNode(const NodePtr &node_to_replace, vector &outputs) { for (const auto &out_anchor : node_to_replace->GetAllOutDataAnchors()) { GE_CHECK_NOTNULL(node_to_replace->GetOpDesc()); auto out_desc = node_to_replace->GetOpDesc()->GetOutputDesc(out_anchor->GetIdx());