From 79ae2d3fe11df3ed4831491223cf5dcb499a18ca Mon Sep 17 00:00:00 2001 From: wangxiaotian22 Date: Sat, 13 Mar 2021 11:47:29 +0800 Subject: [PATCH] fix --- ge/graph/build/memory/graph_mem_assigner.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }