/external/tensorflow/tensorflow/compiler/xla/ |
D | literal_comparison.cc | 282 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/ |
D | imx_lpi2c.c | 252 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/ |
D | random_fourier_features_test.py | 153 abs_error = math_ops.abs(exact_kernel_value - approx_kernel_value) 154 total_absolute_error += abs_error
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | kernelized_test.py | 347 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/ |
D | gtest.h | 1597 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/ |
D | gtest.h | 1591 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/ |
D | gtest.h | 1589 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/ |
D | losses.py | 799 abs_error = math_ops.abs(error) 800 quadratic = math_ops.minimum(abs_error, delta) 801 linear = math_ops.subtract(abs_error, quadratic)
|
D | losses_test.py | 1443 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/ |
D | losses_impl.py | 431 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/ |
D | gtest.h | 1664 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/ |
D | gtest.h | 1664 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/ |
D | gtest.h | 1664 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/ |
D | gtest.h | 1758 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/ |
D | gtest.h | 1715 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/ |
D | test_math.py | 134 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/ |
D | gtest.cc | 1041 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/ |
D | gtest.cc | 1041 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/ |
D | gtest.cc | 1042 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/ |
D | gtest.cc | 1368 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/ |
D | gtest.cc | 1367 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/ |
D | gtest.cc | 1367 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/ |
D | gtest.cc | 1412 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/ |
D | gtest.cc | 1389 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/ |
D | gtest-all.cc | 2815 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()
|