Home
last modified time | relevance | path

Searched refs:abs_error (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/
Dliteral_comparison.cc282 float abs_error; member
299 rel_error, abs_error); in ToString()
373 float abs_error; in CompareValues() local
376 abs_error = 0; in CompareValues()
386 abs_error = std::numeric_limits<float>::infinity(); in CompareValues()
389 abs_error = 0; in CompareValues()
397 abs_error = FpAbsoluteValue(actual_finite - expected); in CompareValues()
402 rel_error = abs_error / FpAbsoluteValue(expected); in CompareValues()
410 abs_error = std::numeric_limits<float>::infinity(); in CompareValues()
413 abs_error = FpAbsoluteValue(actual - expected); in CompareValues()
[all …]
/external/u-boot/drivers/i2c/
Dimx_lpi2c.c252 u32 best_clkhi = 0, abs_error = 0, rate; in bus_i2c_set_bus_speed() local
276 abs_error = speed > rate ? speed - rate : rate - speed; in bus_i2c_set_bus_speed()
278 if (abs_error < error) { in bus_i2c_set_bus_speed()
281 error = abs_error; in bus_i2c_set_bus_speed()
282 if (abs_error == 0) in bus_i2c_set_bus_speed()
/external/tensorflow/tensorflow/contrib/kernel_methods/python/mappers/
Drandom_fourier_features_test.py153 abs_error = math_ops.abs(exact_kernel_value - approx_kernel_value)
154 total_absolute_error += abs_error
/external/tensorflow/tensorflow/python/keras/layers/
Dkernelized_test.py347 abs_error = math_ops.abs(exact_kernel_value - approx_kernel_value)
351 abs_error_eval = sess.run([abs_error])
355 self.assertGreater(abs_error, 0.05)
356 self.assertLess(abs_error, 0.5)
/external/google-breakpad/src/testing/gtest/include/gtest/
Dgtest.h1597 double abs_error);
1971 #define EXPECT_NEAR(val1, val2, abs_error)\ argument
1973 val1, val2, abs_error)
1975 #define ASSERT_NEAR(val1, val2, abs_error)\ argument
1977 val1, val2, abs_error)
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h1591 double abs_error);
1971 #define EXPECT_NEAR(val1, val2, abs_error)\ argument
1973 val1, val2, abs_error)
1975 #define ASSERT_NEAR(val1, val2, abs_error)\ argument
1977 val1, val2, abs_error)
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/
Dgtest.h1589 double abs_error);
1969 #define EXPECT_NEAR(val1, val2, abs_error)\ argument
1971 val1, val2, abs_error)
1973 #define ASSERT_NEAR(val1, val2, abs_error)\ argument
1975 val1, val2, abs_error)
/external/tensorflow/tensorflow/python/keras/
Dlosses.py799 abs_error = math_ops.abs(error)
800 quadratic = math_ops.minimum(abs_error, delta)
801 linear = math_ops.subtract(abs_error, quadratic)
Dlosses_test.py1443 abs_error = np.abs(error)
1445 quadratic = np.minimum(abs_error, delta)
1446 linear = np.subtract(abs_error, quadratic)
/external/tensorflow/tensorflow/python/ops/losses/
Dlosses_impl.py431 abs_error = math_ops.abs(error)
432 quadratic = math_ops.minimum(abs_error, delta)
438 linear = math_ops.subtract(abs_error, quadratic)
/external/mesa3d/src/gtest/include/gtest/
Dgtest.h1664 double abs_error);
2043 #define EXPECT_NEAR(val1, val2, abs_error)\ argument
2045 val1, val2, abs_error)
2047 #define ASSERT_NEAR(val1, val2, abs_error)\ argument
2049 val1, val2, abs_error)
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest.h1664 double abs_error);
2043 #define EXPECT_NEAR(val1, val2, abs_error)\ argument
2045 val1, val2, abs_error)
2047 #define ASSERT_NEAR(val1, val2, abs_error)\ argument
2049 val1, val2, abs_error)
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h1664 double abs_error);
2043 #define EXPECT_NEAR(val1, val2, abs_error)\ argument
2045 val1, val2, abs_error)
2047 #define ASSERT_NEAR(val1, val2, abs_error)\ argument
2049 val1, val2, abs_error)
/external/googletest/googletest/include/gtest/
Dgtest.h1758 double abs_error);
2134 #define EXPECT_NEAR(val1, val2, abs_error)\ argument
2136 val1, val2, abs_error)
2138 #define ASSERT_NEAR(val1, val2, abs_error)\ argument
2140 val1, val2, abs_error)
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h1715 double abs_error);
2084 #define EXPECT_NEAR(val1, val2, abs_error)\ argument
2086 val1, val2, abs_error)
2088 #define ASSERT_NEAR(val1, val2, abs_error)\ argument
2090 val1, val2, abs_error)
/external/python/cpython3/Lib/test/
Dtest_math.py134 abs_error = abs(expected - got)
137 if abs_error <= abs_tol or ulp_error <= ulp_tol:
142 return fmt.format(abs_error, ulp_error, abs_tol, ulp_tol)
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest.cc1041 double abs_error) { in DoubleNearPredFormat() argument
1043 if (diff <= abs_error) return AssertionSuccess(); in DoubleNearPredFormat()
1052 << abs_error_expr << " evaluates to " << abs_error << "."; in DoubleNearPredFormat()
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc1041 double abs_error) { in DoubleNearPredFormat() argument
1043 if (diff <= abs_error) return AssertionSuccess(); in DoubleNearPredFormat()
1052 << abs_error_expr << " evaluates to " << abs_error << "."; in DoubleNearPredFormat()
/external/google-breakpad/src/testing/gtest/src/
Dgtest.cc1042 double abs_error) { in DoubleNearPredFormat() argument
1044 if (diff <= abs_error) return AssertionSuccess(); in DoubleNearPredFormat()
1053 << abs_error_expr << " evaluates to " << abs_error << "."; in DoubleNearPredFormat()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest.cc1368 double abs_error) { in DoubleNearPredFormat() argument
1370 if (diff <= abs_error) return AssertionSuccess(); in DoubleNearPredFormat()
1379 << abs_error_expr << " evaluates to " << abs_error << "."; in DoubleNearPredFormat()
/external/mesa3d/src/gtest/src/
Dgtest.cc1367 double abs_error) { in DoubleNearPredFormat() argument
1369 if (diff <= abs_error) return AssertionSuccess(); in DoubleNearPredFormat()
1378 << abs_error_expr << " evaluates to " << abs_error << "."; in DoubleNearPredFormat()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/
Dgtest.cc1367 double abs_error) { in DoubleNearPredFormat() argument
1369 if (diff <= abs_error) return AssertionSuccess(); in DoubleNearPredFormat()
1378 << abs_error_expr << " evaluates to " << abs_error << "."; in DoubleNearPredFormat()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest.cc1412 double abs_error) { in DoubleNearPredFormat() argument
1414 if (diff <= abs_error) return AssertionSuccess(); in DoubleNearPredFormat()
1423 << abs_error_expr << " evaluates to " << abs_error << "."; in DoubleNearPredFormat()
/external/googletest/googletest/src/
Dgtest.cc1389 double abs_error) { in DoubleNearPredFormat() argument
1391 if (diff <= abs_error) return AssertionSuccess(); in DoubleNearPredFormat()
1398 << abs_error_expr << " evaluates to " << abs_error << "."; in DoubleNearPredFormat()
/external/epid-sdk/ext/gtest/
Dgtest-all.cc2815 double abs_error) { in DoubleNearPredFormat() argument
2817 if (diff <= abs_error) return AssertionSuccess(); in DoubleNearPredFormat()
2826 << abs_error_expr << " evaluates to " << abs_error << "."; in DoubleNearPredFormat()

12