fixed sr warning

pull/1212/head
李磊 4 years ago
parent a56f5013b8
commit 108a2a7d70

@ -64,7 +64,7 @@ const std::string kInputFormat = "input_format";
* @param cfg_path [IN] the config file path * @param cfg_path [IN] the config file path
* @return graphStatus * @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 = { const std::map<aclgrphAttrType, SetOpAttrFun> kAttrTypeFuncMap = {
{ATTR_TYPE_KEEP_DTYPE, KeepDtypeFunc}, {ATTR_TYPE_KEEP_DTYPE, KeepDtypeFunc},

Loading…
Cancel
Save