Browse Source

bugfix for syntax error

tags/v1.2.0
gengchao4@huawei.com 3 years ago
parent
commit
abc9cc9cbf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/graph/build/memory/graph_mem_assigner.cc

+ 1
- 1
ge/graph/build/memory/graph_mem_assigner.cc View File

@@ -509,7 +509,7 @@ Status GraphMemoryAssigner::AssignContinuousInputMemory(const ge::NodePtr &node,
GE_CHK_STATUS_RET(GetAllRef(node, out2ins), "Node: %s get all ref failed", node->GetName().c_str());
// output is beginning offset, set offset for input; only support this case now
if (out2ins.size() == 1 && out2ins.begin()->second == 0) {
output_list.at(peer_out_data_anchor->GetIdx()) == output_list_this.at(out2ins.begin()->first);
output_list.at(peer_out_data_anchor->GetIdx()) = output_list_this.at(out2ins.begin()->first);
peer_op_desc->SetOutputOffset(output_list);
} else {
GELOGW("Node %s out %d ref in %d with total ref numbers %zu", node->GetName().c_str(), out2ins.begin()->first,


Loading…
Cancel
Save