Searched refs:max_abs_error (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/lite/kernels/ |
D | test_util.cc | 26 float max_abs_error) { in ArrayFloatNear() argument 30 matchers.emplace_back(FloatNear(v, max_abs_error)); in ArrayFloatNear() 36 const std::vector<std::complex<float>>& values, float max_abs_error) { in ArrayComplex64Near() argument 42 FloatNear(v.real(), max_abs_error)), in ArrayComplex64Near() 44 FloatNear(v.imag(), max_abs_error)))); in ArrayComplex64Near()
|
D | test_util.h | 38 const std::vector<float>& values, float max_abs_error = 1e-5); 43 const std::vector<std::complex<float>>& values, float max_abs_error = 1e-5);
|
/external/googletest/googlemock/include/gmock/ |
D | gmock-matchers.h | 1371 FloatType max_abs_error) 1374 max_abs_error_(max_abs_error) { 1375 GTEST_CHECK_(max_abs_error >= 0) 1376 << ", where max_abs_error is" << max_abs_error; 1383 Impl(FloatType expected, bool nan_eq_nan, FloatType max_abs_error) 1386 max_abs_error_(max_abs_error) {} 1519 explicit FloatingEq2Matcher(FloatType max_abs_error) { 1520 Init(max_abs_error, false); 1523 FloatingEq2Matcher(FloatType max_abs_error, bool nan_eq_nan) { 1524 Init(max_abs_error, nan_eq_nan); [all …]
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/ |
D | fuse_binary_into_following_affine_test.cc | 30 const std::vector<float>& values, float max_abs_error = 1e-5) { in ArrayFloatNear() argument 34 matchers.emplace_back(testing::FloatNear(v, max_abs_error)); in ArrayFloatNear()
|
D | resolve_constant_concatenation_test.cc | 30 const std::vector<float>& values, float max_abs_error = 1e-5) { in ArrayFloatNear() argument 34 matchers.emplace_back(testing::FloatNear(v, max_abs_error)); in ArrayFloatNear()
|
D | lstm_utils_test.cc | 31 const std::vector<float>& values, float max_abs_error = 1e-5) { in ArrayFloatNear() argument 35 matchers.emplace_back(testing::FloatNear(v, max_abs_error)); in ArrayFloatNear()
|
/external/googletest/googlemock/docs/ |
D | CheatSheet.md | 215 |`DoubleNear(a_double, max_abs_error)`|`argument` is a `double` value close to `a_double` (absolute… 216 |`FloatNear(a_float, max_abs_error)`|`argument` is a `float` value close to `a_float` (absolute err… 217 …itiveDoubleNear(a_double, max_abs_error)`|`argument` is a `double` value close to `a_double` (abso… 218 …ensitiveFloatNear(a_float, max_abs_error)`|`argument` is a `float` value close to `a_float` (absol…
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/ |
D | gmock-matchers.h | 1904 FloatType max_abs_error) 1907 max_abs_error_(max_abs_error) { 1908 GTEST_CHECK_(max_abs_error >= 0) 1909 << ", where max_abs_error is" << max_abs_error; 1916 Impl(FloatType expected, bool nan_eq_nan, FloatType max_abs_error) 1919 max_abs_error_(max_abs_error) {} 3845 double rhs, double max_abs_error) { 3846 return internal::FloatingEqMatcher<double>(rhs, false, max_abs_error); 3853 double rhs, double max_abs_error) { 3854 return internal::FloatingEqMatcher<double>(rhs, true, max_abs_error); [all …]
|