modified: replace_with_empty_const_pass.cc

pull/1157/head
zhaoxinxin 4 years ago
parent ad7b6cadf1
commit 1c733582ef

@ -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