Home
last modified time | relevance | path

Searched refs:max_abs_error (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/contrib/lite/toco/graph_transformations/tests/
Dresolve_constant_concatenation_test.cc32 const std::vector<float>& values, float max_abs_error = 1e-5) { in ArrayFloatNear() argument
36 matchers.emplace_back(testing::FloatNear(v, max_abs_error)); in ArrayFloatNear()
Dlstm_utils_test.cc31 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/tensorflow/tensorflow/contrib/lite/kernels/
Dtest_util.cc43 float max_abs_error) { in ArrayFloatNear() argument
47 matchers.emplace_back(FloatNear(v, max_abs_error)); in ArrayFloatNear()
Dtest_util.h35 const std::vector<float>& values, float max_abs_error = 1e-5);
/external/googletest/googlemock/docs/
DCheatSheet.md207 |`DoubleNear(a_double, max_abs_error)`|`argument` is a `double` value close to `a_double` (absolute…
209 |`FloatNear(a_float, max_abs_error)` |`argument` is a `float` value close to `a_float` (absolute e…
210 …itiveDoubleNear(a_double, max_abs_error)`|`argument` is a `double` value close to `a_double` (abso…
211 …ensitiveFloatNear(a_float, max_abs_error)`|`argument` is a `float` value close to `a_float` (absol…
/external/googletest/googlemock/include/gmock/
Dgmock-matchers.h1904 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) {}
3830 double rhs, double max_abs_error) {
3831 return internal::FloatingEqMatcher<double>(rhs, false, max_abs_error);
3838 double rhs, double max_abs_error) {
3839 return internal::FloatingEqMatcher<double>(rhs, true, max_abs_error);
[all …]
/external/v8/testing/gmock/include/gmock/
Dgmock-matchers.h1904 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) {}
3829 double rhs, double max_abs_error) {
3830 return internal::FloatingEqMatcher<double>(rhs, false, max_abs_error);
3837 double rhs, double max_abs_error) {
3838 return internal::FloatingEqMatcher<double>(rhs, true, max_abs_error);
[all …]