modified: ge/graph/passes/replace_with_empty_const_pass.cc

pull/460/head
zhaoxinxin 5 years ago
parent 6e8581d0a6
commit 95963ac5a5

@ -74,7 +74,7 @@ Status ReplaceWithEmptyConstPass::Run(NodePtr &node) {
GELOGD("ReplaceWithEmptyConstPass end.");
return SUCCESS;
}
Status GetOutputsOfCurrNode(const NodePtr &node_to_replace, vector<GeTensorPtr> &outputs) {
Status ReplaceWithEmptyConstPass::GetOutputsOfCurrNode(const NodePtr &node_to_replace, vector<GeTensorPtr> &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());

Loading…
Cancel
Save