Browse Source

Pre Merge pull request !370 from yangyongqiang/master

pull/370/MERGE
yangyongqiang Gitee 4 years ago
parent
commit
ab8d9d766f
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      parser/common/acl_graph_parser_util.cc

+ 4
- 3
parser/common/acl_graph_parser_util.cc View File

@@ -266,11 +266,12 @@ void AclGrphParseUtil::SetDefaultFormat() {

domi::Status AclGrphParseUtil::ParseAclOutputNodes(const string &out_nodes) {
try {
ge::GetParserContext().out_nodes_map.clear();
ge::GetParserContext().user_out_nodes.clear();
ge::GetParserContext().user_out_tensors.clear();
ge::GetParserContext().default_out_nodes.clear();
// parse output node
if (!out_nodes.empty()) {
ge::GetParserContext().out_nodes_map.clear();
ge::GetParserContext().user_out_nodes.clear();
ge::GetParserContext().user_out_tensors.clear();
uint32_t set_output_mode = 0;

vector<string> nodes_v = StringUtils::Split(out_nodes, ';');


Loading…
Cancel
Save