diff --git a/ge/graph/build/memory/graph_mem_assigner.cc b/ge/graph/build/memory/graph_mem_assigner.cc index 3bd125f7..b433ad02 100755 --- a/ge/graph/build/memory/graph_mem_assigner.cc +++ b/ge/graph/build/memory/graph_mem_assigner.cc @@ -803,9 +803,9 @@ Status GraphMemoryAssigner::FilterAtomicNodesForMemoryAssign( (void) ge::AttrUtils::GetBool(peer_in_node_desc, ATTR_NAME_REFERENCE, is_reference); if (is_reference) { REPORT_INNER_ERROR("E19999", "Op:%s cannot have both atomic and is_reference attribute, " - "not support now", peer_in_node_desc->GetName()); + "not support now", peer_in_node_desc->GetName().c_str()); GELOGE(FAILED, "[Check][Attr]Op:%s cannot have both atomic and is_reference attribute, " - "not support now", peer_in_node_desc->GetName()); + "not support now", peer_in_node_desc->GetName().c_str()); return ge::PARAM_INVALID; }