Browse Source

Enter feed control signal, take as root Node

pull/1691/head
zhangxiaokun 4 years ago
parent
commit
8a7a2e8d51
3 changed files with 6 additions and 3 deletions
  1. +4
    -1
      ge/hybrid/model/node_item.cc
  2. +1
    -1
      metadef
  3. +1
    -1
      parser

+ 4
- 1
ge/hybrid/model/node_item.cc View File

@@ -421,7 +421,10 @@ void NodeItem::SetCtrlSend(NodeItem *node_item, uint32_t switch_index) {
if (is_root_node_) { if (is_root_node_) {
node_item->root_ctrl_.emplace(this); node_item->root_ctrl_.emplace(this);
} }

// If Enter feed control signal, take as root Node.
if (kEnterOpTypes.count(node_type) > 0) {
node_item->root_ctrl_.emplace(this);
}
GELOGI("Node[%s] will control node[%s]", NodeName().c_str(), node_item->NodeName().c_str()); GELOGI("Node[%s] will control node[%s]", NodeName().c_str(), node_item->NodeName().c_str());
} }




+ 1
- 1
metadef

@@ -1 +1 @@
Subproject commit 23718da69af64f8a57051ee64d5515ae1e103c70
Subproject commit 7ef25103b99c322e77b1fa7e0d6bd7b68b4acb6b

+ 1
- 1
parser

@@ -1 +1 @@
Subproject commit 9bb03f21773f028b07d5a912db6f176268962c7d
Subproject commit a796624b45b01d3d216b9b0e1ac74915b8c483b9

Loading…
Cancel
Save