Variable mindspore::kCompareMap
Defined in File check_convert_utils.h
Variable Documentation
- template<typename T> const std::map< CompareEnum, std::function< bool(T, T)> > mindspore::kCompareMap = {{kEqual, [](T num1, T num2) -> bool { return num1 == num2; }},{kNotEqual, [](T num1, T num2) -> bool { return num1 != num2; }},{kLessThan, [](T num1, T num2) -> bool { return num1 < num2; }},{kLessEqual, [](T num1, T num2) -> bool { return num1 <= num2; }},{kGreaterThan, [](T num1, T num2) -> bool { return num1 > num2; }},{kGreaterEqual, [](T num1, T num2) -> bool { return num1 >= num2; }}}