Browse Source

rm empty_tensor inputs for merge

tags/v1.1.0
chenyemeng 4 years ago
parent
commit
680e63f88c
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      ge/graph/passes/merge_pass.cc

+ 3
- 0
ge/graph/passes/merge_pass.cc View File

@@ -231,6 +231,9 @@ Status MergePass::OptimizeEmptyTensorInput(const NodePtr &node) {
node->GetName().c_str(), in_data_anchor->GetIdx()); node->GetName().c_str(), in_data_anchor->GetIdx());
return FAILED; return FAILED;
} }
GELOGD("Remove data edge %s:%d->%s:%d",
op_desc->GetName().c_str(), peer_data_anchor->GetIdx(),
node->GetName().c_str(), in_data_anchor->GetIdx());
} }
} }
return SUCCESS; return SUCCESS;


Loading…
Cancel
Save