Browse Source

split MergeToStreamMergePass

tags/v1.1.0
chenyemeng 4 years ago
parent
commit
c05e484e2f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/graph/passes/merge_to_stream_merge_pass.cc

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

@@ -115,7 +115,7 @@ Status MergeToStreamMergePass::AddActiveNodes(const ComputeGraphPtr &graph, cons
GE_IF_BOOL_EXEC(peer_out_anchor == nullptr, continue);
NodePtr in_node = peer_out_anchor->GetOwnerNode();
const std::string &type = in_node->GetType();
// For WhileLoop no need memcpy for merge.
// For WhileLoop, no need to add active nodes here, since which have been added in NextIterationPass.
GE_IF_BOOL_EXEC((type == ENTER) || (type == REFENTER) || (type == NEXTITERATION) || (type == REFNEXTITERATION),
continue);
NodePtr active_node = CreateActiveNode(graph, in_node);


Loading…
Cancel
Save