Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.cc60 float max_abs_error) { in ArrayFloatNear() argument
64 matchers.emplace_back(FloatNear(v, max_abs_error)); in ArrayFloatNear()
70 const std::vector<std::complex<float>>& values, float max_abs_error) { in ArrayComplex64Near() argument
76 FloatNear(v.real(), max_abs_error)), in ArrayComplex64Near()
78 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.cc30 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()
Dfuse_binary_into_following_affine_test.cc30 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()
Dresolve_constant_concatenation_test.cc30 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()
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/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/tensorflow/tensorflow/lite/experimental/quantization_debugger/
DREADME.md96 {'max_abs_error': 0.05089309,
102 {'max_abs_error': 0.09744112,
108 {'max_abs_error': 0.0036417267,
/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/llvm-project/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-matchers.h1906 FloatType max_abs_error)
1909 max_abs_error_(max_abs_error) {
1910 GTEST_CHECK_(max_abs_error >= 0)
1911 << ", where max_abs_error is" << max_abs_error;
1918 Impl(FloatType expected, bool nan_eq_nan, FloatType max_abs_error)
1921 max_abs_error_(max_abs_error) {}
3853 double rhs, double max_abs_error) {
3854 return internal::FloatingEqMatcher<double>(rhs, false, max_abs_error);
3861 double rhs, double max_abs_error) {
3862 return internal::FloatingEqMatcher<double>(rhs, true, max_abs_error);
[all …]
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes_test.cc225 float max_abs_error = 1e-5, in ArrayFloatNear() argument
231 matchers.emplace_back(::testing::NanSensitiveFloatNear(v, max_abs_error)); in ArrayFloatNear()
232 } else if (max_abs_error == 0) { in ArrayFloatNear()
235 EXPECT_GE(max_abs_error, 0); in ArrayFloatNear()
236 matchers.emplace_back(::testing::FloatNear(v, max_abs_error)); in ArrayFloatNear()
/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 …]