Merge pull request !25389 from lanzhineng/infer
This commit is contained in:
i-robot 2021-10-26 10:55:58 +00:00 committed by Gitee
commit 73e5e30ccd
1 changed files with 0 additions and 2 deletions

View File

@ -469,7 +469,6 @@ ValuePtr MSANFModelParser::ParseAttrInScalarForm(const mind_ir::AttributeProto &
MS_LOG(ERROR) << "Obtain attr in scalar-form has not support input type: " << attr_type;
return {};
}
return {};
}
void MSANFModelParser::ObtainCNodeAttrInScalarForm(const mind_ir::AttributeProto &attr_proto,
@ -545,7 +544,6 @@ ValuePtr MSANFModelParser::ObtainCNodeAttrInSingleScalarForm(const mind_ir::Attr
MS_LOG(ERROR) << "Obtain attr in scalar-form has not support input type: " << attr_type;
return {};
}
return {};
}
bool MSANFModelParser::ObtainCNodeAttrInTensorForm(const PrimitivePtr &prim,