Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_testutils.cc32 const std::vector<float>& values, float max_abs_error, bool nan_sensitive) { in ArrayFloatNear() argument
37 matchers.emplace_back(::testing::NanSensitiveFloatNear(v, max_abs_error)); in ArrayFloatNear()
38 } else if (max_abs_error == 0) { in ArrayFloatNear()
41 EXPECT_GE(max_abs_error, 0); in ArrayFloatNear()
42 matchers.emplace_back(::testing::FloatNear(v, max_abs_error)); in ArrayFloatNear()
Dtrt_testutils.h78 const std::vector<float>& values, float max_abs_error = 1e-5,
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.cc61 float max_abs_error) { in ArrayFloatNear() argument
65 matchers.emplace_back(FloatNear(v, max_abs_error)); in ArrayFloatNear()
71 const std::vector<std::complex<float>>& values, float max_abs_error) { in ArrayComplex64Near() argument
77 FloatNear(v.real(), max_abs_error)), in ArrayComplex64Near()
79 FloatNear(v.imag(), max_abs_error)))); in ArrayComplex64Near()
Dtest_util.h57 const std::vector<float>& values, float max_abs_error = 1e-5);
62 const std::vector<std::complex<float>>& values, float max_abs_error = 1e-5);
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/
Dfuse_binary_into_preceding_affine_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()
Dfuse_binary_into_following_affine_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()
Dresolve_constant_concatenation_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()
Dlstm_utils_test.cc33 const std::vector<float>& values, float max_abs_error = 1e-5) { in ArrayFloatNear() argument
37 matchers.emplace_back(testing::FloatNear(v, max_abs_error)); in ArrayFloatNear()
/external/googletest/docs/reference/
Dmatchers.md79 …ubleNear(a_double, max_abs_error)` | `argument` is a `double` value close to `a_double…
80 …FloatNear(a_float, max_abs_error)` | `argument` is a `float` value close to `a_float…
81 …tiveDoubleNear(a_double, max_abs_error)` | `argument` is a `double` value close to `a_double` (abs…
82 …sitiveFloatNear(a_float, max_abs_error)` | `argument` is a `float` value close to `a_float` (abs…
/external/cronet/third_party/googletest/src/docs/reference/
Dmatchers.md80 …ubleNear(a_double, max_abs_error)` | `argument` is a `double` value close to `a_double…
81 …FloatNear(a_float, max_abs_error)` | `argument` is a `float` value close to `a_float…
82 …tiveDoubleNear(a_double, max_abs_error)` | `argument` is a `double` value close to `a_double` (abs…
83 …sitiveFloatNear(a_float, max_abs_error)` | `argument` is a `float` value close to `a_float` (abs…
/external/tensorflow/tensorflow/lite/tools/optimize/debugging/
DREADME.md96 {'max_abs_error': 0.05089309,
102 {'max_abs_error': 0.09744112,
108 {'max_abs_error': 0.0036417267,
/external/libaom/third_party/googletest/src/googlemock/include/gmock/
Dgmock-matchers.h1658 FloatType max_abs_error)
1661 max_abs_error_(max_abs_error) {
1662 GTEST_CHECK_(max_abs_error >= 0)
1663 << ", where max_abs_error is" << max_abs_error;
1670 Impl(FloatType expected, bool nan_eq_nan, FloatType max_abs_error)
1673 max_abs_error_(max_abs_error) {}
1797 explicit FloatingEq2Matcher(FloatType max_abs_error) {
1798 Init(max_abs_error, false);
1801 FloatingEq2Matcher(FloatType max_abs_error, bool nan_eq_nan) {
1802 Init(max_abs_error, nan_eq_nan);
[all …]
/external/cronet/third_party/googletest/src/googlemock/include/gmock/
Dgmock-matchers.h1657 FloatType max_abs_error)
1660 max_abs_error_(max_abs_error) {
1661 GTEST_CHECK_(max_abs_error >= 0)
1662 << ", where max_abs_error is" << max_abs_error;
1669 Impl(FloatType expected, bool nan_eq_nan, FloatType max_abs_error)
1672 max_abs_error_(max_abs_error) {}
1796 explicit FloatingEq2Matcher(FloatType max_abs_error) {
1797 Init(max_abs_error, false);
1800 FloatingEq2Matcher(FloatType max_abs_error, bool nan_eq_nan) {
1801 Init(max_abs_error, nan_eq_nan);
[all …]
/external/googletest/googlemock/include/gmock/
Dgmock-matchers.h1610 FloatType max_abs_error)
1613 max_abs_error_(max_abs_error) {
1614 GTEST_CHECK_(max_abs_error >= 0)
1615 << ", where max_abs_error is" << max_abs_error;
1622 Impl(FloatType expected, bool nan_eq_nan, FloatType max_abs_error)
1625 max_abs_error_(max_abs_error) {}
1751 explicit FloatingEq2Matcher(FloatType max_abs_error) {
1752 Init(max_abs_error, false);
1755 FloatingEq2Matcher(FloatType max_abs_error, bool nan_eq_nan) {
1756 Init(max_abs_error, nan_eq_nan);
[all …]
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtransport_feedback_unittest.cc45 MATCHER_P2(Near, value, max_abs_error, "") {
46 return value - max_abs_error <= arg && arg <= value + max_abs_error;
/external/fmtlib/test/gmock/
Dgmock.h6484 FloatingEqMatcher(FloatType rhs, bool nan_eq_nan, FloatType max_abs_error) :
6485 rhs_(rhs), nan_eq_nan_(nan_eq_nan), max_abs_error_(max_abs_error) {
6486 GTEST_CHECK_(max_abs_error >= 0)
6487 << ", where max_abs_error is" << max_abs_error;
6494 Impl(FloatType rhs, bool nan_eq_nan, FloatType max_abs_error) :
6495 rhs_(rhs), nan_eq_nan_(nan_eq_nan), max_abs_error_(max_abs_error) {}
8169 double rhs, double max_abs_error) {
8170 return internal::FloatingEqMatcher<double>(rhs, false, max_abs_error);
8177 double rhs, double max_abs_error) {
8178 return internal::FloatingEqMatcher<double>(rhs, true, max_abs_error);
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/gmock/
Dgmock.h6723 FloatType max_abs_error)
6726 max_abs_error_(max_abs_error) {
6727 GTEST_CHECK_(max_abs_error >= 0)
6728 << ", where max_abs_error is" << max_abs_error;
6735 Impl(FloatType expected, bool nan_eq_nan, FloatType max_abs_error)
6738 max_abs_error_(max_abs_error) {}
8648 double rhs, double max_abs_error) {
8649 return internal::FloatingEqMatcher<double>(rhs, false, max_abs_error);
8656 double rhs, double max_abs_error) {
8657 return internal::FloatingEqMatcher<double>(rhs, true, max_abs_error);
[all …]
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes_test.cc1968 float max_abs_error = 0.0001, bool nan_sensitive = true) { in RunTests() argument
2013 ArrayFloatNear(output, max_abs_error, nan_sensitive), in RunTests()
4820 const float max_abs_error = 1e-4; in TEST_P() local
4822 const float max_abs_error = 0.; in TEST_P() local
4825 max_abs_error, nan_sensitive); in TEST_P()