/external/python/cpython3/Lib/test/ |
D | math_testcases.txt | 374 -- log1p: log(1 + x), without precision loss for small x -- 378 log1p0000 log1p 0.0 -> 0.0 379 log1p0001 log1p -0.0 -> -0.0 380 log1p0002 log1p inf -> inf 381 log1p0003 log1p -inf -> nan invalid 382 log1p0004 log1p nan -> nan 385 log1p0010 log1p -1.0 -> -inf divide-by-zero 386 log1p0011 log1p -0.9999999999999999 -> -36.736800569677101 389 log1p0020 log1p -1.0000000000000002 -> nan invalid 390 log1p0021 log1p -1.1 -> nan invalid [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | cwise_op_log1p.cc | 19 REGISTER5(UnaryOp, CPU, "Log1p", functor::log1p, float, Eigen::half, double, 23 REGISTER3(UnaryOp, GPU, "Log1p", functor::log1p, float, Eigen::half, double); 27 REGISTER2(UnaryOp, SYCL, "Log1p", functor::log1p, float, double);
|
D | logistic-loss.h | 72 return log1p(exp(-y_wx)) * example_weight; in ComputePrimalLoss() 77 return (log1p(exp(y_wx)) - y_wx) * example_weight; in ComputePrimalLoss()
|
D | cwise_op_gpu_log1p.cu.cc | 22 DEFINE_UNARY3(log1p, Eigen::half, float, double);
|
D | random_binomial_op.cc | 69 using Eigen::numext::log1p; in binomial_inversion() 80 double geom = ceil(log(u) / log1p(-prob)); in binomial_inversion() 110 using Eigen::numext::log1p; in btrs()
|
D | unary_ops_composition.cc | 275 REGISTER_COMPUTE_FN_HELPER(Log1p, functor::log1p<T>); 333 REGISTER_COMPUTE_FN_HELPER(Log1p, functor::log1p<T>); 404 REGISTER_COMPUTE_FN_HELPER(Log1p, functor::log1p<T>);
|
D | range_sampler.cc | 73 return -std::expm1(num_tries * std::log1p(-p)); in ExpectedCountHelper() 158 : RangeSampler(range), log_range_(log1p(range)) {} in LogUniformSampler()
|
D | mfcc_mel_filterbank.cc | 199 return 1127.0 * log1p(freq / 700.0); in FreqToMel()
|
/external/tensorflow/tensorflow/core/api_def/python_api/ |
D | api_def_Log1p.pbtxt | 4 name: "math.log1p" 7 name: "log1p" 15 >>> tf.math.log1p(x)
|
/external/eigen/Eigen/src/Core/arch/CUDA/ |
D | MathFunctions.h | 43 return make_double2(log1p(a.x), log1p(a.y));
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | cwise_ops_unary_test.py | 208 self._compareBoth(z, np.log1p, math_ops.log1p) 265 self._compareBoth(x, np.log1p, math_ops.log1p) 316 self._compareBoth(z, np.log1p, math_ops.log1p) 367 self._compareBoth(z, np.log1p, math_ops.log1p) 456 self._compareCpu(y, np.log1p, math_ops.log1p) 501 self._compareCpu(y, np.log1p, math_ops.log1p)
|
/external/eigen/test/ |
D | half_float.cpp | 205 VERIFY_IS_EQUAL(float(numext::log1p(half(0.0f))), 0.0f); in test_basic_functions() 206 VERIFY_IS_EQUAL(float(log1p(half(0.0f))), 0.0f); in test_basic_functions() 207 VERIFY_IS_APPROX(float(numext::log1p(half(10.0f))), 2.3978953f); in test_basic_functions() 208 VERIFY_IS_APPROX(float(log1p(half(10.0f))), 2.3978953f); in test_basic_functions()
|
/external/clang/lib/Headers/ |
D | __clang_cuda_math_forward_declares.h | 131 __DEVICE__ double log1p(double); 132 __DEVICE__ float log1p(float); 233 using ::log1p;
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_Xlog1py.pbtxt | 3 summary: "Returns 0 if x == 0, and x * log1p(y) otherwise, elementwise."
|
D | api_def_Log1p.pbtxt | 11 tf.math.log1p(x) ==> [0., 0.4054651, 0.6931472, 1.7917595]
|
/external/OpenCL-CTS/test_conformance/clcpp/math_funcs/ |
D | logarithmic_funcs.hpp | 154 MATH_FUNCS_DEFINE_UNARY_FUNC(logarithmic, log1p, std::log1p, true, 2.0f, 4.0f, 0.001f, -10.0f, 1000…
|
/external/eigen/Eigen/src/Core/ |
D | MathFunctions.h | 493 EIGEN_DEVICE_FUNC inline Scalar log1p(const Scalar& x) { 508 using std::log1p; 510 using std_fallback::log1p; 511 return log1p(x); 952 inline EIGEN_MATHFUNC_RETVAL(log1p, Scalar) log1p(const Scalar& x) 954 return EIGEN_MATHFUNC_IMPL(log1p, Scalar)::run(x); 959 float log1p(const float &x) { return ::log1pf(x); } 962 double log1p(const double &x) { return ::log1p(x); }
|
D | GlobalFunctions.h | 75 …EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(log1p,scalar_log1p_op,natural logarithm of 1 plus the value,\sa A…
|
/external/python/cpython2/Lib/test/ |
D | test_math.py | 607 self.assertRaises(TypeError, math.log1p) 608 self.ftest('log1p(1/e -1)', math.log1p(1/math.e-1), -1) 609 self.ftest('log1p(0)', math.log1p(0), 0) 610 self.ftest('log1p(e-1)', math.log1p(math.e-1), 1) 611 self.ftest('log1p(1)', math.log1p(1), math.log(2)) 612 self.assertEqual(math.log1p(INF), INF) 613 self.assertRaises(ValueError, math.log1p, NINF) 614 self.assertTrue(math.isnan(math.log1p(NAN))) 616 self.assertAlmostEqual(math.log1p(n), 62.383246250395075) 617 self.assertAlmostEqual(math.log1p(n), math.log1p(float(n)))
|
/external/v8/src/base/ |
D | ieee754.h | 49 V8_BASE_EXPORT double log1p(double x);
|
/external/python/cpython2/Modules/ |
D | _math.c | 206 return log1p(x); in _Py_log1p()
|
/external/python/cpython3/Modules/ |
D | _math.c | 224 return log1p(x); in _Py_log1p()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | mfcc_mel_filterbank.cc | 200 return 1127.0 * log1p(freq / 700.0); in FreqToMel()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
D | BetaDistributionImpl.java | 163 double log1mX = FastMath.log1p(-x); in density()
|
/external/tensorflow/tensorflow/core/lib/bfloat16/ |
D | bfloat16.h | 501 inline bfloat16 log1p(const bfloat16& a) { 502 return bfloat16(std::log1p(float(a)));
|