Home
last modified time | relevance | path

Searched refs:iter_to_string (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/core/utils/
Dcheck_convert_utils.h180 auto iter_to_string = kCompareToString.find(compare_operator); in CheckValue() local
181 if (iter_to_string == kCompareToString.end()) { in CheckValue()
185 buffer << iter_to_string->second << match_value << " , but got " << arg_value << "."; in CheckValue()
209 auto iter_to_string = kCompareRangeToString.find(compare_operator); in CheckInRange() local
210 if (iter_to_string == kCompareRangeToString.end()) { in CheckInRange()
214 auto range_strng = iter_to_string->second; in CheckInRange()
247 auto iter_to_string = kCompareToString.find(compare_type);
248 if (iter_to_string == kCompareToString.end()) {
257 buffer << " must " << iter_to_string->second << "[";
Dcheck_convert_utils.cc362 auto iter_to_string = kCompareToString.find(compare_operator); in CheckInteger() local
363 if (iter_to_string == kCompareToString.end()) { in CheckInteger()
366 buffer << iter_to_string->second << match_value << ", but got " << arg_value << "."; in CheckInteger()
447 auto iter_to_string = kCompareToString.find(compare_type); in Check() local
448 if (iter_to_string == kCompareToString.end()) { in Check()
451 buffer << iter_to_string->second << value << ", but got " << arg_value << "."; in Check()