Browse Source

modified: replace_with_empty_const_pass.cc

tags/v1.2.0
zhaoxinxin 4 years ago
parent
commit
1c733582ef
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/graph/passes/replace_with_empty_const_pass.cc

+ 1
- 1
ge/graph/passes/replace_with_empty_const_pass.cc View File

@@ -34,7 +34,7 @@ Status ReplaceWithEmptyConstPass::Run(NodePtr &node) {
return PARAM_INVALID;
}
if (node->GetType() == CONSTANT || node->GetType() == CONSTANTOP || node->GetType() == DATA) {
GELOGD("Node %s is const. Ignore current pass.", node->GetName().c_str());
GELOGI("Node %s is const. Ignore current pass.", node->GetName().c_str());
return SUCCESS;
}
// Node like no op, it has no output


Loading…
Cancel
Save