|
|
|
@@ -1151,9 +1151,12 @@ domi::Status AclGrphParseUtil::ParseParamsAfterGraph(ge::Graph &graph, |
|
|
|
return PARAM_INVALID, "Parse compress_weight_conf failed"); |
|
|
|
string op_conf_str; |
|
|
|
GetAclParams(parser_params, ge::ir_option::OP_NAME_MAP, op_conf_str); |
|
|
|
GE_CHK_BOOL_TRUE_EXEC_WITH_LOG(CheckAclOpNameMap(compute_graph, op_conf_str) != SUCCESS, |
|
|
|
return PARAM_INVALID, "Check op_name_map info failed"); |
|
|
|
|
|
|
|
if (!op_conf_str.empty()) { |
|
|
|
GE_CHK_BOOL_TRUE_EXEC_WITH_LOG(CheckAclOpNameMap(compute_graph, op_conf_str) != SUCCESS, |
|
|
|
return PARAM_INVALID, |
|
|
|
"Check op_name_map info failed"); |
|
|
|
} |
|
|
|
|
|
|
|
return SUCCESS; |
|
|
|
} |
|
|
|
|
|
|
|
|