Home
last modified time | relevance | path

Searched defs:eps (Results 1 – 25 of 158) sorted by relevance

1234567

/third_party/json/benchmarks/thirdparty/benchmark/src/
Dcheck.h72 #define CHECK_FLOAT_EQ(a, b, eps) CHECK(std::fabs((a) - (b)) < (eps)) argument
73 #define CHECK_FLOAT_NE(a, b, eps) CHECK(std::fabs((a) - (b)) >= (eps)) argument
74 #define CHECK_FLOAT_GE(a, b, eps) CHECK((a) - (b) > -(eps)) argument
75 #define CHECK_FLOAT_LE(a, b, eps) CHECK((b) - (a) > -(eps)) argument
76 #define CHECK_FLOAT_GT(a, b, eps) CHECK((a) - (b) > (eps)) argument
77 #define CHECK_FLOAT_LT(a, b, eps) CHECK((b) - (a) > (eps)) argument
/third_party/benchmark/src/
Dcheck.h82 #define BM_CHECK_FLOAT_EQ(a, b, eps) BM_CHECK(std::fabs((a) - (b)) < (eps)) argument
83 #define BM_CHECK_FLOAT_NE(a, b, eps) BM_CHECK(std::fabs((a) - (b)) >= (eps)) argument
84 #define BM_CHECK_FLOAT_GE(a, b, eps) BM_CHECK((a) - (b) > -(eps)) argument
85 #define BM_CHECK_FLOAT_LE(a, b, eps) BM_CHECK((b) - (a) > -(eps)) argument
86 #define BM_CHECK_FLOAT_GT(a, b, eps) BM_CHECK((a) - (b) > (eps)) argument
87 #define BM_CHECK_FLOAT_LT(a, b, eps) BM_CHECK((b) - (a) > (eps)) argument
/third_party/boost/libs/math/test/
Dtest_tr1.cpp34 float eps = boost::math::tools::epsilon<float>(); in test_values() local
666 double eps = boost::math::tools::epsilon<double>(); in test_values() local
987 long double eps = boost::math::tools::epsilon<long double>(); in test_values() local
Dtest_autodiff_3.cpp12 const T eps = 3000 * test_constants_t<T>::pct_epsilon(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
34 const auto eps = boost::math::tools::epsilon<T>(); in BOOST_AUTO_TEST_CASE_TEMPLATE() local
47 const T eps = 300 * 100 * boost::math::tools::epsilon<T>(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
72 const T eps = 20000 * boost::math::tools::epsilon<T>(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
100 const T eps = 300 * boost::math::tools::epsilon<T>(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
154 const T eps = 800 * boost::math::tools::epsilon<T>(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
211 const T eps = 1000 * boost::math::tools::epsilon<T>(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
243 const T eps = 1000 * boost::math::tools::epsilon<T>(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
268 const T eps = 1000 * boost::math::tools::epsilon<T>(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
293 const T eps = 1000 * boost::math::tools::epsilon<T>(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
[all …]
Dtest_autodiff_2.cpp41 const T eps = 201 * std::numeric_limits<T>::epsilon(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
102 const T eps = 4000 * std::numeric_limits<T>::epsilon(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
272 const T eps = 100 * std::numeric_limits<T>::epsilon(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
339 const T eps = 200 * std::numeric_limits<T>::epsilon(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
365 const T eps = 300 * std::numeric_limits<T>::epsilon(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
386 const T eps = 300 * std::numeric_limits<T>::epsilon(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
409 const T eps = 300 * std::numeric_limits<T>::epsilon(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
430 const T eps = 100 * std::numeric_limits<T>::epsilon(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
442 const T eps = 300 * std::numeric_limits<T>::epsilon(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
474 const T eps = 300 * std::numeric_limits<T>::epsilon(); // percent in BOOST_AUTO_TEST_CASE_TEMPLATE() local
Dtest_tr1.c95 float eps = FLT_EPSILON; in test_values_f() local
417 double eps = DBL_EPSILON; in test_values() local
739 long double eps = LDBL_EPSILON; in test_valuesl() local
/third_party/boost/boost/geometry/util/
Dseries_expansion.hpp63 inline CT evaluate_A1(CT eps) in evaluate_A1()
108 inline CT evaluate_A2(CT const& eps) in evaluate_A2()
222 inline void evaluate_coeffs_C1(Coeffs &c, CT const& eps) in evaluate_coeffs_C1()
321 inline void evaluate_coeffs_C1p(Coeffs& c, CT const& eps) in evaluate_coeffs_C1p()
420 inline void evaluate_coeffs_C2(Coeffs& c, CT const& eps) in evaluate_coeffs_C2()
638 inline void evaluate_coeffs_C3(Coeffs1 &coeffs1, Coeffs2 &coeffs2, CT const& eps) in evaluate_coeffs_C3()
/third_party/mindspore/tests/st/fl/mobile/src/
Dadam.py33 def _update_run_kernel(beta1, beta2, eps, lr, weight_decay, param, m, v, gradient, decay_flags, opt… argument
48 def _update_run_op(beta1, beta2, eps, lr, overflow, weight_decay, param, m, v, gradient, decay_flag… argument
109 … beta2_power, beta1, beta2, eps, lr, gradient, param, m, v, ps_parameter, cache_enable): argument
176 beta1_power, beta2_power, beta1, beta2, eps, lr, gradient, param, argument
192 def _run_off_load_opt(opt, beta1_power, beta2_power, beta1, beta2, eps, lr, gradient, param, moment… argument
200 def _check_param_value(beta1, beta2, eps, prim_name): argument
282 …def __init__(self, params, learning_rate=1e-3, beta1=0.9, beta2=0.999, eps=1e-6, weight_decay=0.0): argument
392 …def __init__(self, params, learning_rate=1e-3, beta1=0.9, beta2=0.999, eps=1e-6, weight_decay=0.0): argument
/third_party/mindspore/tests/st/fl/albert/src/
Dadam.py34 def _update_run_kernel(beta1, beta2, eps, lr, weight_decay, param, m, v, gradient, decay_flags, opt… argument
49 def _update_run_op(beta1, beta2, eps, lr, overflow, weight_decay, param, m, v, gradient, decay_flag… argument
110 … beta2_power, beta1, beta2, eps, lr, gradient, param, m, v, ps_parameter, cache_enable): argument
176 beta1_power, beta2_power, beta1, beta2, eps, lr, gradient, param, argument
192 def _run_off_load_opt(opt, beta1_power, beta2_power, beta1, beta2, eps, lr, gradient, param, moment… argument
200 def _check_param_value(beta1, beta2, eps, prim_name): argument
282 …def __init__(self, params, learning_rate=1e-3, beta1=0.9, beta2=0.999, eps=1e-6, weight_decay=0.0): argument
392 …def __init__(self, params, learning_rate=1e-3, beta1=0.9, beta2=0.999, eps=1e-6, weight_decay=0.0): argument
/third_party/mindspore/tests/st/fl/hybrid_lenet/src/
Dadam.py33 def _update_run_kernel(beta1, beta2, eps, lr, weight_decay, param, m, v, gradient, decay_flags, opt… argument
48 def _update_run_op(beta1, beta2, eps, lr, overflow, weight_decay, param, m, v, gradient, decay_flag… argument
109 … beta2_power, beta1, beta2, eps, lr, gradient, param, m, v, ps_parameter, cache_enable): argument
175 beta1_power, beta2_power, beta1, beta2, eps, lr, gradient, param, argument
191 def _run_off_load_opt(opt, beta1_power, beta2_power, beta1, beta2, eps, lr, gradient, param, moment… argument
199 def _check_param_value(beta1, beta2, eps, prim_name): argument
281 …def __init__(self, params, learning_rate=1e-3, beta1=0.9, beta2=0.999, eps=1e-6, weight_decay=0.0): argument
391 …def __init__(self, params, learning_rate=1e-3, beta1=0.9, beta2=0.999, eps=1e-6, weight_decay=0.0): argument
/third_party/mindspore/mindspore/nn/optim/
Dadam.py37 def _update_run_op(beta1, beta2, eps, lr, weight_decay, param, m, v, gradient, decay_flag, optim_fi… argument
94 … beta2_power, beta1, beta2, eps, lr, gradient, param, m, v, ps_parameter, cache_enable): argument
155 beta1_power, beta2_power, beta1, beta2, eps, lr, gradient, param, argument
171 def _run_off_load_opt(opt, beta1_power, beta2_power, beta1, beta2, eps, lr, gradient, param, moment… argument
179 def _check_param_value(beta1, beta2, eps, prim_name): argument
316 …def __init__(self, params, learning_rate=1e-3, beta1=0.9, beta2=0.999, eps=1e-8, use_locking=False, argument
483 …def __init__(self, params, learning_rate=1e-3, beta1=0.9, beta2=0.999, eps=1e-6, weight_decay=0.0): argument
629 …def __init__(self, params, learning_rate=1e-3, beta1=0.9, beta2=0.999, eps=1e-8, use_locking=False, argument
Dlamb.py39 def _update_run_op(beta1, beta2, eps, global_step, lr, weight_decay, param, m, v, gradient, decay_f… argument
121 def _update_run_op_ascend(beta1, beta2, eps, global_step, lr, weight_decay, param, m, v, gradient, … argument
164 def _check_param_value(beta1, beta2, eps, prim_name): argument
295 def __init__(self, params, learning_rate, beta1=0.9, beta2=0.999, eps=1e-6, weight_decay=0.0): argument
Dlazyadam.py35 beta1, beta2, eps, lr, gradient, params, m, v, ps_parameter, cache_enable): argument
82 … beta1, beta2, eps, lr, gradient, params, moment1, moment2, ps_parameter, cache_enable): argument
95 def _check_param_value(beta1, beta2, eps, weight_decay, prim_name): argument
236 …def __init__(self, params, learning_rate=1e-3, beta1=0.9, beta2=0.999, eps=1e-8, use_locking=False, argument
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dl2normalize_impl.cu21 __global__ void AssignEps(const size_t size, const float eps, T* value) { in AssignEps()
30 void GetMaxWithEpsAndValue(const size_t size, const float eps, T* value, cudaStream_t cuda_stream) { in GetMaxWithEpsAndValue()
/third_party/mindspore/mindspore/core/ops/grad/
Dbn_grad.cc24 void BNGrad::Init(const float eps, const float momentum) { in Init()
29 void BNGrad::set_eps(const float eps) { (void)this->AddAttr(kEps, MakeValue(eps)); } in set_eps()
/third_party/boost/libs/math/example/
Dtest_cpp_float_close_fraction.cpp66 cpp_dec_float_50_noet eps = std::numeric_limits<cpp_dec_float_50_noet>::epsilon(); in BOOST_AUTO_TEST_CASE() local
88 cpp_dec_float_50_et eps = std::numeric_limits<cpp_dec_float_50_et>::epsilon(); in BOOST_AUTO_TEST_CASE() local
/third_party/boost/libs/test/test/writing-test-ts/
Dfp-multiprecision-comparison-test.cpp108 cpp_dec_float_50_noet eps = std::numeric_limits<cpp_dec_float_50_noet>::epsilon(); in BOOST_AUTO_TEST_CASE() local
136 cpp_dec_float_50_et eps = std::numeric_limits<cpp_dec_float_50_et>::epsilon(); in BOOST_AUTO_TEST_CASE() local
/third_party/boost/boost/math/differentiation/
Dfinite_difference.hpp97 const Real eps = (numeric_limits<Real>::epsilon)(); in finite_difference_derivative() local
126 const Real eps = (numeric_limits<Real>::epsilon)(); in finite_difference_derivative() local
154 const Real eps = (numeric_limits<Real>::epsilon)(); in finite_difference_derivative() local
186 const Real eps = (numeric_limits<Real>::epsilon)(); in finite_difference_derivative() local
218 const Real eps = (numeric_limits<Real>::epsilon)(); in finite_difference_derivative() local
/third_party/mindspore/mindspore/nn/layer/
Dnormalization.py49 eps=1e-5, argument
352 eps=1e-5, argument
460 eps=1e-5, argument
562 eps=1e-5, argument
680 eps=1e-5, argument
801 eps=1e-5, argument
990 eps=1e-5, argument
1105 …def __init__(self, num_groups, num_channels, eps=1e-05, affine=True, gamma_init='ones', beta_init=… argument
/third_party/mindspore/tests/st/ops/graph_kernel/
Dtest_fused_adam.py47 …def construct(self, beta1, beta2, one_sub_beta_1, one_sub_beta_2, gradient, eps, weight_decay_tens… argument
91 …def construct(self, beta1, beta2, one_sub_beta_1, one_sub_beta_2, gradient, eps, weight_decay_tens… argument
119 def CalFusedAdam(beta1, beta2, one_sub_beta_1, one_sub_beta_2, gradient, eps, weight_decay_tensor, … argument
/third_party/jerryscript/tests/jerry-test-suite/11/11.04/11.04.04/
D11.04.04-006.js16 var eps = 0.00000001; variable
/third_party/jerryscript/tests/jerry-test-suite/11/11.04/11.04.05/
D11.04.05-006.js15 var eps = 0.000000001; variable
/third_party/jerryscript/tests/jerry-test-suite/11/11.09/11.09.05/
D11.09.05-016.js15 var x = 123.00, y = 0.0123e+4, eps = .00001 variable
/third_party/jerryscript/tests/jerry-test-suite/11/11.09/11.09.04/
D11.09.04-016.js15 var x = 123.00, y = 0.0123e+4, eps = .00001 variable
/third_party/mindspore/mindspore/lite/java/java/fl_client/src/main/java/com/mindspore/flclient/
DSecureProtocol.java255 private static double calculateBPositive(double eps, double calInput) { in calculateBPositive()
260 private static double calculateBNegative(double eps, double calInput) { in calculateBNegative()
265 …private static double calculateSPositive(double eps, double targetDelta, double initSInf, double i… in calculateSPositive()
297 …private static double calculateSNegative(double eps, double targetDelta, double initSInf, double i… in calculateSNegative()
330 private static double calculateSigma(double clipNorm, double eps, double targetDelta) { in calculateSigma()

1234567