|
|
|
@@ -48,12 +48,12 @@ Status MergeToStreamMergePass::Run(ComputeGraphPtr graph) { |
|
|
|
} |
|
|
|
|
|
|
|
for (const auto &node : bypass_nodes_) { |
|
|
|
GE_CHK_STATUS_EXEC(GraphUtils::RemoveNodeWithoutRelink(graph, node) == GRAPH_SUCCESS, |
|
|
|
REPORT_CALL_ERROR("E19999", "Remove node:%s(%s) without relink in graph:%s failed", |
|
|
|
node->GetName().c_str(), |
|
|
|
node->GetType().c_str(), graph->GetName().c_str()); |
|
|
|
return FAILED, |
|
|
|
"Remove merge node failed."); |
|
|
|
GE_CHK_BOOL_EXEC(GraphUtils::RemoveNodeWithoutRelink(graph, node) == GRAPH_SUCCESS, |
|
|
|
REPORT_CALL_ERROR("E19999", "Remove node:%s(%s) without relink in graph:%s failed", |
|
|
|
node->GetName().c_str(), |
|
|
|
node->GetType().c_str(), graph->GetName().c_str()); |
|
|
|
return FAILED, |
|
|
|
"Remove merge node failed."); |
|
|
|
} |
|
|
|
|
|
|
|
GELOGD("MergeToStreamMergePass Leave"); |
|
|
|
|