Searched refs:attr_value_str (Results 1 – 1 of 1) sorted by relevance
150 auto attr_value_str = GetValue<std::string>(value); in GetDataFormatEnumValue() local151 if (DataFormatToEnumMap.find(attr_value_str) == DataFormatToEnumMap.end()) { in GetDataFormatEnumValue()152 MS_LOG(DEBUG) << "The data format " << attr_value_str << " not be converted to enum."; in GetDataFormatEnumValue()155 *enum_value = DataFormatToEnumMap[attr_value_str]; in GetDataFormatEnumValue()166 auto attr_value_str = GetValue<std::string>(value); in GetPadModEnumValue() local172 if (pad_map.find(attr_value_str) == pad_map.end()) { in GetPadModEnumValue()173 MS_LOG(EXCEPTION) << "Invalid pad mode " << attr_value_str << " use pad, valid or same"; in GetPadModEnumValue()175 *enum_value = pad_map[attr_value_str]; in GetPadModEnumValue()184 auto attr_value_str = GetValue<std::string>(value); in GetReductionEnumValue() local187 if (pad_map.find(attr_value_str) == pad_map.end()) { in GetReductionEnumValue()[all …]