Home
last modified time | relevance | path

Searched refs:max_error (Results 1 – 25 of 42) sorted by relevance

12

/third_party/boost/libs/math/test/
Dtest_remez.cpp34 std::cout << "Interpolation Error: " << approx1.max_error() << std::endl; in test_polynomial()
38 …std::cout << approx1.error_term() << " " << approx1.max_error() << " " << approx1.max_change() << … in test_polynomial()
43 std::cout << "Interpolation Error: " << approx1.max_error() << std::endl; in test_polynomial()
47 …std::cout << approx2.error_term() << " " << approx2.max_error() << " " << approx2.max_change() << … in test_polynomial()
54 std::cout << "Interpolation Error: " << approx1.max_error() << std::endl; in test_polynomial()
58 …std::cout << approx3.error_term() << " " << approx3.max_error() << " " << approx3.max_change() << … in test_polynomial()
63 std::cout << "Interpolation Error: " << approx1.max_error() << std::endl; in test_polynomial()
67 …std::cout << approx4.error_term() << " " << approx4.max_error() << " " << approx4.max_change() << … in test_polynomial()
74 std::cout << "Interpolation Error: " << approx1.max_error() << std::endl; in test_polynomial()
78 …std::cout << approx5.error_term() << " " << approx5.max_error() << " " << approx5.max_change() << … in test_polynomial()
[all …]
Dtest_numerical_differentiation.cpp37 Real max_error = 0; in test_order() local
63 if (error > max_error) in test_order()
65 max_error = error; in test_order()
76 bool max_error_good = max_error < 2*sqrt(std::numeric_limits<Real>::epsilon()); in test_order()
/third_party/mindspore/tests/mindspore_test_framework/utils/
Dconfig_util.py57 max_error = 1e-3
65 max_error = ext_config.get(keyword.max_error, 1e-3)
69 return s, dtype, scale, max_error, check_tolerance, relative_tolerance, absolute_tolerance
85 max_error = function.get(keyword.max_error, 1e-3)
94 return delta, max_error, input_selector, output_selector, sampling_times, \
112 delta, max_error, input_selector, output_selector, sampling_times, reduce_output, _, _, _, _ = \
114 return f, args, delta, max_error, input_selector, output_selector, sampling_times, reduce_output
Dcheck_gradient.py49 max_error: float = 1e-3,
57 self.max_error = max_error
214 if np.fabs(numeric_grad - theoretical_grad).max() > self.max_error:
225 print('GradChecker.max_error', self.max_error)
264 if np.fabs(numeric_jacobian - theoretical_jacobian).max() > self.max_error:
294 print('GradChecker.max_error', self.max_error)
310 max_error: float = 1e-3,
316 … super(ScalarGradChecker, self).__init__(fn, grad_op, args, delta, max_error, input_selector, \
336 if np.fabs(diff - self.gout[i]).max() > self.max_error:
353 max_error: float = 1e-3,
[all …]
Dnpy_util.py26 …s, dtype, scale, max_error, check_tolerance, relative_tolerance, absolute_tolerance = get_expect_c…
34 return ret, max_error, check_tolerance, relative_tolerance, absolute_tolerance
40 d, max_error, check_tolerance, relative_tolerance, absolute_tolerance = load_npy(p)
44 ret.append((d, max_error, check_tolerance, relative_tolerance, absolute_tolerance))
Dfacade_util.py58 delta, max_error, input_selector, output_selector, \
62 delta, max_error, input_selector, output_selector, \
72 keyword.max_error: max_error,
Dcompare_util.py37 max_error = expect[keyword.desc_expect].get(keyword.max_error, 1e-3)
46 if np.fabs(e - results[i]).max() > max_error:
/third_party/libsnd/tests/
Dwrite_read_test.def10 max_error = "255" ;
20 max_error = "0" ;
30 max_error = "4096" ;
40 max_error = "256" ;
50 max_error = "0" ;
62 max_error = "0" ;
72 max_error = "0" ;
/third_party/mindspore/tests/mindspore_test_framework/components/executor/
Dcheck_jacobian_for_scalar_func.py32 f, args, delta, max_error, input_selector, output_selector, _, _ = \
34 … check_jacobian(f, *args, delta=delta, max_error=max_error, grad_checker_class=ScalarGradChecker,
Dcheck_jacobian_wrt_inputs.py41 f, args, delta, max_error, input_selector, output_selector, _, _ = \
43 …check_jacobian(f, *args, delta=delta, max_error=max_error, grad_checker_class=OperationGradChecker,
Dcheck_jacobian_wrt_params.py41 f, args, delta, max_error, input_selector, output_selector, _, _ = \
43 check_jacobian(f, *args, delta=delta, max_error=max_error, grad_checker_class=NNGradChecker,
Dcheck_gradient_for_scalar_func.py32 f, args, delta, max_error, input_selector, output_selector, sampling_times, _ = \
34 … check_gradient(f, *args, delta=delta, max_error=max_error, grad_checker_class=ScalarGradChecker,
Dcheck_gradient_wrt_inputs.py41 f, args, delta, max_error, input_selector, output_selector, \
43 …check_gradient(f, *args, delta=delta, max_error=max_error, grad_checker_class=OperationGradChecker,
Dcheck_gradient_wrt_params.py41 f, args, delta, max_error, input_selector, output_selector, \
43 check_gradient(f, *args, delta=delta, max_error=max_error, grad_checker_class=NNGradChecker,
/third_party/flutter/skia/tools/skqp/
DREADME_ALGORITHM.md48 max_error = 0
68 max_error = max(max_error, pixel_error)
76 return ((total_error, max_error, bad_pixels), error_image)
88 backend_name,render_test_name,max_error,bad_pixels,total_error
93 well as the three metrics: `max_error`, `bad_pixels`, and `total_error`.
/third_party/skia/tools/skqp/
DREADME_ALGORITHM.md48 max_error = 0
68 max_error = max(max_error, pixel_error)
76 return ((total_error, max_error, bad_pixels), error_image)
88 backend_name,render_test_name,max_error,bad_pixels,total_error
93 well as the three metrics: `max_error`, `bad_pixels`, and `total_error`.
/third_party/boost/libs/math/include_private/boost/math/tools/
Dsolve.hpp61 T max_error = 0; in solve() local
66 if(err > max_error) in solve()
67 max_error = err; in solve()
/third_party/flutter/skia/third_party/externals/libpng/contrib/tools/
DmakesRGB.c79 double max_error = 0; in main() local
303 max_error = .4999; in main()
315 if (err > (max_error+.001) || err < (min_error-.001)) in main()
324 if (err > max_error) in main()
325 max_error = err; in main()
385 min_error, max_error, error_count, (100.*error_count)/max_input); in main()
/third_party/skia/third_party/externals/libpng/contrib/tools/
DmakesRGB.c79 double max_error = 0; in main() local
303 max_error = .4999; in main()
315 if (err > (max_error+.001) || err < (min_error-.001)) in main()
324 if (err > max_error) in main()
325 max_error = err; in main()
385 min_error, max_error, error_count, (100.*error_count)/max_input); in main()
/third_party/libpng/contrib/tools/
DmakesRGB.c79 double max_error = 0; in main() local
303 max_error = .4999; in main()
315 if (err > (max_error+.001) || err < (min_error-.001)) in main()
324 if (err > max_error) in main()
325 max_error = err; in main()
385 min_error, max_error, error_count, (100.*error_count)/max_input); in main()
/third_party/boost/libs/math/minimax/
Dmain.cpp92 …(3) << std::scientific << boost::math::tools::real_cast<double>(p_remez->max_error()) << std::endl; in step_some()
106 …n(3) << std::scientific << boost::math::tools::real_cast<double>(p_remez->max_error()) << std::endl in step_some()
264 mp_type max_error(0), cheb_max_error(0); in do_test() local
288 if(err > max_error) in do_test()
289 max_error = err; in do_test()
315 if(err > max_error) in do_test()
316 max_error = err; in do_test()
326 …<< boost::math::tools::real_cast<T>(max_error) << "Cheb: " << boost::math::tools::real_cast<T>(che… in do_test()
397 mp_type max_error(0), max_cheb_error(0); in do_test_n() local
425 if(err > max_error) in do_test_n()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dmediancut.c31 double sum, total_error, max_error; member
72 double max_error = 0; in box_max_error() local
77 if (diff > max_error) { in box_max_error()
78 max_error = diff; in box_max_error()
81 return max_error; in box_max_error()
295 if (bv[i].max_error > max_mse) { in best_splittable_box()
296 thissum = thissum * bv[i].max_error / max_mse; in best_splittable_box()
395 bv[0].max_error = box_max_error (achv, &bv[0]); in mediancut()
465 bv[bi].max_error = box_max_error (achv, &bv[bi]); in mediancut()
474 bv[boxes].max_error = box_max_error (achv, &bv[boxes]); in mediancut()
/third_party/mindspore/tests/mindspore_test_framework/components/verifier/
Dverify_expect_from_npy.py50 expect, max_error, check_tolerance, relative_tolerance, absolute_tolerance = e
55 if np.fabs(expect - results[i]).max() > max_error:
/third_party/boost/libs/math/tools/
Dhypergeometric_1F1_error_plot.cpp118 test_type max_error = 0; in main() local
155 if (err > max_error) in main()
159 max_error = err; in main()
173 tee_log << "Max error found was: " << max_error << std::endl; in main()
/third_party/boost/libs/math/doc/graphs/
Dplot_1d_errors.cpp48 Real max_distance(0), min_distance(0), max_error(0), max_error_location(0); in plot_errors_1d() local
81 if (fabs(distance) > max_error) in plot_errors_1d()
83 max_error = fabs(distance); in plot_errors_1d()
95 …std::cout << "Max error was " << std::setprecision(3) << max_error << " at location " << std::setp… in plot_errors_1d()

12