diff --git a/inc/external/parser/caffe_parser.h b/inc/external/parser/caffe_parser.h index 7819927..2681c0c 100644 --- a/inc/external/parser/caffe_parser.h +++ b/inc/external/parser/caffe_parser.h @@ -41,10 +41,12 @@ #include "graph/types.h" namespace ge { -PARSER_FUNC_VISIBILITY graphStatus aclgrphParseCaffe(const char *model_file, const char *weights_file, ge::Graph &graph); +PARSER_FUNC_VISIBILITY graphStatus aclgrphParseCaffe(const char *model_file, const char *weights_file, + ge::Graph &graph); PARSER_FUNC_VISIBILITY graphStatus aclgrphParseCaffe(const char *model_file, const char *weights_file, - const std::map &parser_params, ge::Graph &graph); + const std::map &parser_params, + ge::Graph &graph); } // namespace ge #endif // INC_EXTERNAL_ACL_GRAPH_CAFFE_H_ diff --git a/inc/external/parser/onnx_parser.h b/inc/external/parser/onnx_parser.h index 2b5e1b8..92877c6 100644 --- a/inc/external/parser/onnx_parser.h +++ b/inc/external/parser/onnx_parser.h @@ -38,11 +38,10 @@ namespace ge { PARSER_FUNC_VISIBILITY graphStatus aclgrphParseONNX(const char *model_file, - const std::map &parser_params, ge::Graph &graph); + const std::map &parser_params, ge::Graph &graph); PARSER_FUNC_VISIBILITY graphStatus aclgrphParseONNXFromMem(const char *buffer, size_t size, - const std::map &parser_params, - ge::Graph &graph); + const std::map &parser_params, ge::Graph &graph); } // namespace ge #endif // INC_EXTERNAL_PARSER_ONNX_PARSER_H_ diff --git a/inc/external/parser/tensorflow_parser.h b/inc/external/parser/tensorflow_parser.h index 036d6f1..f1f82ab 100644 --- a/inc/external/parser/tensorflow_parser.h +++ b/inc/external/parser/tensorflow_parser.h @@ -44,7 +44,8 @@ namespace ge { PARSER_FUNC_VISIBILITY graphStatus aclgrphParseTensorFlow(const char *model_file, ge::Graph &graph); PARSER_FUNC_VISIBILITY graphStatus aclgrphParseTensorFlow(const char *model_file, - const std::map &parser_params, ge::Graph &graph); + const std::map &parser_params, + ge::Graph &graph); } // namespace ge #endif // INC_EXTERNAL_ACL_PARSER_TENSORFLOW_H_ \ No newline at end of file diff --git a/parser/tensorflow/tensorflow_parser.cc b/parser/tensorflow/tensorflow_parser.cc index d4874c1..5b14ebf 100644 --- a/parser/tensorflow/tensorflow_parser.cc +++ b/parser/tensorflow/tensorflow_parser.cc @@ -700,8 +700,8 @@ Status TensorFlowModelParser::AddEdges(ge::ComputeGraphPtr &graph) { ErrorManager::GetInstance().ATCReportErrMessage("E12021", {"opname1", "index1", "opname2", "index2"}, {src_op_name, std::to_string(input_iter->second.size()), dest_op_name, std::to_string(src_output_iter.second.size())}); - GELOGE(INTERNAL_ERROR, "Input size of op[%s]:%zu is not equal to Output size of op[%s]:%zu.", src_op_name.c_str(), - input_iter->second.size(), dest_op_name.c_str(), src_output_iter.second.size()); + GELOGE(INTERNAL_ERROR, "Input size of op[%s]:%zu is not equal to Output size of op[%s]:%zu.", + src_op_name.c_str(), input_iter->second.size(), dest_op_name.c_str(), src_output_iter.second.size()); return INTERNAL_ERROR; } for (auto &outputpair : src_output_iter.second) {