Browse Source

fix sc check

pull/1699/head
lichun 4 years ago
parent
commit
54c0e9cab9
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

@@ -2159,7 +2159,7 @@ void GraphMemoryAssigner::CalcDistanceAndUpdateDesc(const map<string, int64_t> &
}
} else { // the data is visit by other customer just before.
GE_IF_BOOL_EXEC(prev_node_input_index_vec.empty(),
GELOGW("Miss prev node[%s] input idx"; prev_node->GetName().c_str()); is_need_skip = true; return);
GELOGW("Miss prev node[%s] input idx", prev_node->GetName().c_str()); is_need_skip = true; return);
if (prev_node == node) { // scene: multiple anchors of a node access the same data
vector<int64_t> prev_next_distances;
GE_IF_BOOL_EXEC(prev_node->GetOpDesc() == nullptr, is_need_skip = true; return);


Loading…
Cancel
Save