Browse Source

Feature: delete several para of aclgrphParse interface

pull/150/head
l00444296 5 years ago
parent
commit
e3d5b11ef9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      parser/common/acl_graph_parser_util.cc

+ 2
- 2
parser/common/acl_graph_parser_util.cc View File

@@ -239,9 +239,9 @@ domi::Status AclGrphParseUtil::AclParserInitialize(const std::map<std::string, s

void AclGrphParseUtil::SetDefaultFormat() {
if (ge::GetParserContext().type == domi::TENSORFLOW) {
ge::GetParserContext().format = "NHWC";
ge::GetParserContext().format = domi::DOMI_TENSOR_NHWC;
} else {
ge::GetParserContext().format = "NCHW";
ge::GetParserContext().format = domi::DOMI_TENSOR_NCHW;
}
}



Loading…
Cancel
Save