Browse Source

fix

tags/v1.5.1
wjm 3 years ago
parent
commit
52964f64bc
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      ge/hybrid/node_executor/compiledsubgraph/known_node_executor.cc

+ 1
- 2
ge/hybrid/node_executor/compiledsubgraph/known_node_executor.cc View File

@@ -247,8 +247,7 @@ Status KnownNodeExecutor::ParseAttrForAllocatingOutputs(NodeItem &node_item, Com
GE_CHECK_NOTNULL(net_output_desc); GE_CHECK_NOTNULL(net_output_desc);
std::map<std::string, int> connected_inputs; std::map<std::string, int> connected_inputs;
std::map<NodePtr, int> data_indices; std::map<NodePtr, int> data_indices;
GE_CHK_STATUS_RET(GetDataNodes(graph, data_indices),
"[%s] Failed to get data node indices",
GE_CHK_STATUS_RET(GetDataNodes(graph, data_indices), "[%s] Failed to get data node indices",
node_item.NodeName().c_str()); node_item.NodeName().c_str());
for (const auto &in_data_anchor : net_output_node->GetAllInDataAnchors()) { for (const auto &in_data_anchor : net_output_node->GetAllInDataAnchors()) {
auto out_data_anchor = in_data_anchor->GetPeerOutAnchor(); auto out_data_anchor = in_data_anchor->GetPeerOutAnchor();


Loading…
Cancel
Save