This commit is contained in:
lby 2023-01-09 19:04:14 +08:00
parent b4dec12559
commit 0c79ac1433
1 changed files with 2 additions and 2 deletions

View File

@ -91,8 +91,8 @@ static std::string ImplTypeToStr(OpImplyType impl_type) {
}
std::vector<std::string> SplitStrToVec(const std::string &input) {
static const std::map<std::string, std::string> kSpecFormat = {
{kOpFormat_NCHW, kOpFormat_DEFAULT}, {kOpFormat_ND, kOpFormat_DEFAULT}, {kOpFormat_NCDHW, kOpFormat_DEFAULT}};
static const std::map<std::string, std::string> kSpecFormat = {{kOpFormat_NCHW, kOpFormat_DEFAULT},
{kOpFormat_ND, kOpFormat_DEFAULT}};
if (input.empty()) {
MS_LOG(EXCEPTION) << "Op select ret item is null.";
}