/third_party/json/benchmarks/thirdparty/benchmark/src/ |
D | check.h | 72 #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/ |
D | check.h | 82 #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/ |
D | test_tr1.cpp | 34 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
|
D | test_autodiff_3.cpp | 12 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 …]
|
D | test_autodiff_2.cpp | 41 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
|
D | test_tr1.c | 95 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/ |
D | series_expansion.hpp | 63 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/ |
D | adam.py | 33 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/ |
D | adam.py | 34 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/ |
D | adam.py | 33 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/ |
D | adam.py | 37 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
|
D | lamb.py | 39 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
|
D | lazyadam.py | 35 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/ |
D | l2normalize_impl.cu | 21 __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/ |
D | bn_grad.cc | 24 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/ |
D | test_cpp_float_close_fraction.cpp | 66 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/ |
D | fp-multiprecision-comparison-test.cpp | 108 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/ |
D | finite_difference.hpp | 97 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/ |
D | normalization.py | 49 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/ |
D | test_fused_adam.py | 47 …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/ |
D | 11.04.04-006.js | 16 var eps = 0.00000001; variable
|
/third_party/jerryscript/tests/jerry-test-suite/11/11.04/11.04.05/ |
D | 11.04.05-006.js | 15 var eps = 0.000000001; variable
|
/third_party/jerryscript/tests/jerry-test-suite/11/11.09/11.09.05/ |
D | 11.09.05-016.js | 15 var x = 123.00, y = 0.0123e+4, eps = .00001 variable
|
/third_party/jerryscript/tests/jerry-test-suite/11/11.09/11.09.04/ |
D | 11.09.04-016.js | 15 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/ |
D | SecureProtocol.java | 255 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()
|