| @@ -230,8 +230,6 @@ inline domi::Status CheckInt64Uint32MulOverflow(int64_t a, uint32_t b) { | |||||
| } // namespace parser | } // namespace parser | ||||
| } // namespace ge | } // namespace ge | ||||
| /*lint --emacro((773),GE_TIMESTAMP_START)*/ | |||||
| /*lint -esym(773,GE_TIMESTAMP_START)*/ | |||||
| #define PARSER_TIMESTAMP_START(stage) uint64_t startUsec_##stage = ge::parser::GetCurrentTimestamp() | #define PARSER_TIMESTAMP_START(stage) uint64_t startUsec_##stage = ge::parser::GetCurrentTimestamp() | ||||
| #define PARSER_TIMESTAMP_END(stage, stage_name) \ | #define PARSER_TIMESTAMP_END(stage, stage_name) \ | ||||
| @@ -21,7 +21,6 @@ | |||||
| #include <string> | #include <string> | ||||
| #include <vector> | #include <vector> | ||||
| /*lint -e1073*/ | |||||
| namespace ge { | namespace ge { | ||||
| // the operator type mapping table of caffe and mindspore | // the operator type mapping table of caffe and mindspore | ||||
| extern std::map<std::string, std::string> caffe_op_map; | extern std::map<std::string, std::string> caffe_op_map; | ||||
| @@ -41,5 +40,4 @@ extern std::vector<std::string> is_dataset_op_vec; | |||||
| // output tensor num | // output tensor num | ||||
| extern std::map<std::string, int32_t> op_output_tensor_num; | extern std::map<std::string, int32_t> op_output_tensor_num; | ||||
| } // namespace ge | } // namespace ge | ||||
| /*lint +e1073*/ | |||||
| #endif // GE_COMMON_OP_MAP_H_ | #endif // GE_COMMON_OP_MAP_H_ | ||||
| @@ -101,7 +101,7 @@ class OpParserFactory { | |||||
| * @ingroup domi_omg | * @ingroup domi_omg | ||||
| * @brief Each Op corresponds to a Creator function | * @brief Each Op corresponds to a Creator function | ||||
| */ | */ | ||||
| std::map<std::string, CREATOR_FUN> op_parser_creator_map_; // lint !e1073 | |||||
| std::map<std::string, CREATOR_FUN> op_parser_creator_map_; | |||||
| std::map<std::string, CREATOR_FUN> fusion_op_parser_creator_map_; | std::map<std::string, CREATOR_FUN> fusion_op_parser_creator_map_; | ||||
| friend class OpParserRegisterar; | friend class OpParserRegisterar; | ||||
| @@ -77,7 +77,7 @@ protected: | |||||
| void RegisterCreator(const std::string &type, CREATOR_FUN fun); | void RegisterCreator(const std::string &type, CREATOR_FUN fun); | ||||
| private: | private: | ||||
| std::map<std::string, CREATOR_FUN> subgraph_adapter_creator_map_; // lint !e1073 | |||||
| std::map<std::string, CREATOR_FUN> subgraph_adapter_creator_map_; | |||||
| friend class SubgraphAdapterRegisterar; | friend class SubgraphAdapterRegisterar; | ||||
| }; | }; | ||||