Searched refs:log1p (Results 1 – 25 of 135) sorted by relevance
123456
/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 | 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 | 72 return -expm1(num_tries * log1p(-p)); in ExpectedCountHelper() 157 : RangeSampler(range), log_range_(log1p(range)) {} in LogUniformSampler()
|
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/ |
D | kumaraswamy.py | 106 math_ops.log1p(-math_ops.exp(math_ops.log1p(-x) / self.concentration0)) 111 return math_ops.exp(math_ops.log1p( 119 (self.concentration0 - 1) * math_ops.log1p(-y**self.concentration1))
|
D | weibull.py | 118 return self.scale * (-math_ops.log1p(-y)) ** (1 / self.concentration) 123 -math_ops.log1p(-y) + 124 (1 / self.concentration - 1) * math_ops.log(-math_ops.log1p(-y)) +
|
D | sigmoid.py | 53 return math_ops.log(y) - math_ops.log1p(-y) 56 return -math_ops.log(y) - math_ops.log1p(-y)
|
D | softsign.py | 77 return -2. * math_ops.log1p(math_ops.abs(x)) 81 return -2. * math_ops.log1p(-math_ops.abs(y))
|
D | power_transform.py | 94 return math_ops.exp(math_ops.log1p(x * self.power) / self.power) 112 return (1. / self.power - 1.) * math_ops.log1p(x * self.power)
|
/external/tensorflow/tensorflow/core/api_def/python_api/ |
D | api_def_Log1p.pbtxt | 4 name: "math.log1p" 7 name: "log1p"
|
/external/tensorflow/tensorflow/contrib/distributions/python/ops/ |
D | geometric.py | 153 math_ops.log(sampled) / math_ops.log1p(-self.probs)) 166 -math_ops.expm1((1. + x) * math_ops.log1p(-self.probs))) 180 return x * math_ops.log1p(-safe_domain) + math_ops.log(probs)
|
D | cauchy.py | 191 return math_ops.log1p(2 / np.pi * math_ops.atan(self._z(x))) - np.log(2) 194 return -math_ops.log1p(math_ops.square(self._z(x)))
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | cwise_ops_unary_test.py | 206 self._compareBoth(z, np.log1p, math_ops.log1p) 263 self._compareBoth(x, np.log1p, math_ops.log1p) 314 self._compareBoth(z, np.log1p, math_ops.log1p) 365 self._compareBoth(z, np.log1p, math_ops.log1p) 438 self._compareCpu(y, np.log1p, math_ops.log1p) 483 self._compareCpu(y, np.log1p, math_ops.log1p)
|
/external/eigen/Eigen/src/Core/arch/CUDA/ |
D | MathFunctions.h | 43 return make_double2(log1p(a.x), log1p(a.y));
|
/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/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); }
|
/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/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/ |
D | sigmoid_test.py | 38 ildj = -np.log(y) - np.log1p(-y)
|
D | kumaraswamy_bijector_test.py | 45 (b - 1) * np.log1p(-x ** a))
|
/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()
|
123456