Browse Source

fixed sr warning

tags/v1.2.0
李磊 3 years ago
parent
commit
108a2a7d70
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/ir_build/ge_ir_build.cc

+ 1
- 1
ge/ir_build/ge_ir_build.cc View File

@@ -64,7 +64,7 @@ const std::string kInputFormat = "input_format";
* @param cfg_path [IN] the config file path
* @return graphStatus
*/
typedef graphStatus (*SetOpAttrFun)(ComputeGraphPtr &graph, const std::string &cfg_path);
using SetOpAttrFun = graphStatus (*)(ComputeGraphPtr &graph, const std::string &cfg_path);

const std::map<aclgrphAttrType, SetOpAttrFun> kAttrTypeFuncMap = {
{ATTR_TYPE_KEEP_DTYPE, KeepDtypeFunc},


Loading…
Cancel
Save