/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
H A D | esextcTessellationShaderTCTE.cpp | 912 const float epsilon = 1e-5f; local 938 if (de::abs(data - expected_value) > epsilon) 966 if (de::abs(data.x - expected_value) > epsilon || de::abs(data.y - expected_value) > epsilon || 967 de::abs(data.z - expected_value) > epsilon || de::abs(data.w - expected_value) > epsilon) 1011 if (de::abs(data.x - expected_value.x) > epsilon || de::abs(data.y - expected_value.y) > epsilon || 1012 de::abs(data.z - expected_value.z) > epsilon || de::abs(data.w - expected_value.w) > epsilon) 1713 const float epsilon = (float)1e-5; local 2974 const float epsilon = (float)1e-5; local 3649 const float epsilon = (float)1e-5; local [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fTextureUnitTests.cpp | 432 const float epsilon = 0.01f; local 437 const deInt32 maxLevel = (lodMax + epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMax + epsilon + 0.5f) - 1); 438 const deInt32 minLevel = (lodMin - epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMin - epsilon + 0.5f) - 1);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fTextureUnitTests.cpp | 588 const float epsilon = 0.01f; local 593 const deInt32 maxLevel = (lodMax + epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMax + epsilon + 0.5f) - 1); 594 const deInt32 minLevel = (lodMin - epsilon < 0.5f) ? (0) : (deCeilFloatToInt32(lodMin - epsilon + 0.5f) - 1);
|
/external/eigen/unsupported/test/mpreal/ |
H A D | mpreal.h | 865 // Estimate machine epsilon for the given precision
869 // Returns smallest eps such that x + eps != x (relative machine epsilon)
2061 /* max = (1 - eps) * 2^emax, eps is machine epsilon */
3017 // Returns smallest eps such that 1 + eps != 1 (classic machine epsilon)
3018 inline static mpfr::mpreal epsilon(mp_prec_t precision = mpfr::mpreal::get_default_prec()) { return mpfr::machine_epsilon(precision); }
function in class:std::numeric_limits 3020 // Returns smallest eps such that x + eps != x (relative machine epsilon)
3021 inline static mpfr::mpreal epsilon(const mpfr::mpreal& x) { return mpfr::machine_epsilon(x); }
function in class:std::numeric_limits
|
/external/icu/icu4c/source/i18n/ |
H A D | astro.cpp | 606 while (uprv_fabs(delta) > 1e-5); // epsilon = 1e-5 rad 1300 double periodDays, double epsilon, UBool next) 1317 // Now iterate until we get the error below epsilon. Throughout 1354 return timeOfAngle(func, desired, periodDays, epsilon, next); 1362 while (uprv_fabs(deltaT) > epsilon); 1369 double epsilon) 1382 rise?"T":"F", diameter, refraction, epsilon)); 1397 while (++ count < 5 && uprv_fabs(deltaT) > epsilon); 1299 timeOfAngle(AngleFunc& func, double desired, double periodDays, double epsilon, UBool next) argument 1367 riseOrSet(CoordFunc& func, UBool rise, double diameter, double refraction, double epsilon) argument
|
/external/opencv/ml/src/ |
H A D | mlann_mlp.cpp | 834 double epsilon; local 850 epsilon = params.term_crit.type & CV_TERMCRIT_EPS ? params.term_crit.epsilon : DEFAULT_EPSILON; 851 epsilon = MAX(epsilon, DBL_EPSILON); 855 params.term_crit.epsilon = epsilon; 890 double prev_E = DBL_MAX*0.5, E = 0, epsilon; local 893 epsilon = params.term_crit.epsilon*coun 1065 double prev_E = DBL_MAX*0.5, epsilon; local [all...] |
H A D | mlboost.cpp | 246 const float epsilon = FLT_EPSILON*2; local 287 if( sorted[i].val + epsilon < sorted[i+1].val ) 308 if( sorted[i].val + epsilon < sorted[i+1].val ) 442 const float epsilon = FLT_EPSILON*2; local 470 if( sorted[i].val + epsilon < sorted[i+1].val ) 573 const float epsilon = FLT_EPSILON*2; local 613 if( LL + RR > best_val && sorted[i].val + epsilon < sorted[i+1].val ) 622 if( RL + LR > best_val && sorted[i].val + epsilon < sorted[i+1].val )
|
H A D | mltree.cpp | 1568 const float epsilon = FLT_EPSILON*2; local 1609 if( sorted[i].val + epsilon < sorted[i+1].val ) 1641 if( sorted[i].val + epsilon < sorted[i+1].val ) 1929 const float epsilon = FLT_EPSILON*2; 1950 if( sorted[i].val + epsilon < sorted[i+1].val ) 2050 const float epsilon = FLT_EPSILON*2; local 2087 if( LL + RR > _best_val && sorted[i].val + epsilon < sorted[i+1].val ) 2096 if( RL + LR > _best_val && sorted[i].val + epsilon < sorted[i+1].val ) 2138 if( LL + RR > best_val && sorted[i].val + epsilon < sorted[i+1].val ) 2147 if( RL + LR > best_val && sorted[i].val + epsilon < sorte [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
H A D | ir_emitter_unnested.cc | 322 // of the contract of these cudnn batchnorm calls that the epsilon and 326 const HloInstruction* epsilon = custom_call->operand(5); local 327 CHECK(epsilon->IsConstant()); 328 float epsilon_value = epsilon->literal().Get<float>({}); 341 /*epsilon=*/epsilon_value, 350 const HloInstruction* epsilon = custom_call->operand(3); local 351 CHECK(epsilon->IsConstant()); 352 float epsilon_value = epsilon->literal().Get<float>({}); 359 // mean, and calculated 1/sqrt(variance + epsilon). 369 /*epsilon 380 const HloInstruction* epsilon = custom_call->operand(5); local [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
H A D | hlo_instruction.h | 383 HloInstruction* offset, float epsilon, int64 feature_index); 389 float epsilon, int64 feature_index); 395 HloInstruction* grad_output, float epsilon, int64 feature_index); 834 // Returns a epsilon value associated with the instruction. The is a small 839 float epsilon() const { return epsilon_; } function in class:xla::HloInstruction
|
H A D | hlo_instruction.cc | 142 instruction->epsilon_ = proto.epsilon(); 600 HloInstruction* offset, float epsilon, 607 instruction->epsilon_ = epsilon; 616 float epsilon, int64 feature_index) { 624 instruction->epsilon_ = epsilon; 633 HloInstruction* grad_output, float epsilon, 642 instruction->epsilon_ = epsilon; 1386 new_operands[2], epsilon(), feature_index()); 1392 new_operands[3], new_operands[4], epsilon(), feature_index()); 1406 new_operands[4], epsilon(), feature_inde 597 CreateBatchNormTraining(const Shape& shape, HloInstruction* operand, HloInstruction* scale, HloInstruction* offset, float epsilon, int64 feature_index) argument 613 CreateBatchNormInference( const Shape& shape, HloInstruction* operand, HloInstruction* scale, HloInstruction* offset, HloInstruction* mean, HloInstruction* variance, float epsilon, int64 feature_index) argument 630 CreateBatchNormGrad(const Shape& shape, HloInstruction* operand, HloInstruction* scale, HloInstruction* mean, HloInstruction* variance, HloInstruction* grad_output, float epsilon, int64 feature_index) argument [all...] |
/external/tensorflow/tensorflow/compiler/xla/tools/parser/ |
H A D | hlo_parser.cc | 847 optional<float> epsilon; local 848 attrs["epsilon"] = {/*required=*/true, AttrTy::kFloat, &epsilon}; 859 /*offset=*/operands[2], *epsilon, *feature_index)); 863 optional<float> epsilon; local 864 attrs["epsilon"] = {/*required=*/true, AttrTy::kFloat, &epsilon}; 876 /*variance=*/operands[4], *epsilon, *feature_index)); 880 optional<float> epsilon; local 881 attrs["epsilon"] [all...] |
/external/tensorflow/tensorflow/core/graph/ |
H A D | mkl_layout_pass.cc | 1654 float epsilon; local 1660 TF_CHECK_OK(GetNodeAttr(orig_node->def(), "epsilon", &epsilon)); 1666 nb->Attr("epsilon", epsilon); 3699 float epsilon; 3705 TF_CHECK_OK(GetNodeAttr(orig_node->def(), "epsilon", &epsilon)); 3711 nb->Attr("epsilon", epsilon); [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
H A D | mkl_fused_batch_norm_op.cc | 51 float epsilon; local 52 OP_REQUIRES_OK(context, context->GetAttr("epsilon", &epsilon)); 53 epsilon_ = T(epsilon); 348 float epsilon; local 349 OP_REQUIRES_OK(context, context->GetAttr("epsilon", &epsilon)); 350 epsilon_ = T(epsilon); 693 float epsilon; local 694 OP_REQUIRES_OK(context, context->GetAttr("epsilon", 1036 float epsilon; local [all...] |
/external/tensorflow/tensorflow/python/keras/_impl/keras/ |
H A D | backend.py | 114 @tf_export('keras.backend.epsilon') 115 def epsilon(): function 123 >>> keras.backend.epsilon() 135 value: float. New value of epsilon. 140 >>> K.epsilon() 143 >>> K.epsilon() 1986 epsilon=1e-3): 1995 epsilon: Fuzz factor. 2001 normed = nn.batch_normalization(x, mean, var, beta, gamma, epsilon) 2009 epsilon [all...] |
/external/deqp/external/openglcts/modules/gl/ |
H A D | gl4cES31CompatibilityShaderImageLoadStoreTests.cpp | 170 inline bool ColorEqual(const vec4& c0, const vec4& c1, const vec4& epsilon) argument 172 if (fabs(c0[0] - c1[0]) > epsilon[0]) 174 if (fabs(c0[1] - c1[1]) > epsilon[1]) 176 if (fabs(c0[2] - c1[2]) > epsilon[2]) 178 if (fabs(c0[3] - c1[3]) > epsilon[3])
|
H A D | gl4cVertexAttrib64BitTest.cpp | 3835 const float epsilon = 1e-5f; local 3901 if (de::abs(expected_value - *xfb_float_data_ptr) > epsilon) 4030 if (de::abs((signed int)*in_char_data_ptr - *xfb_int_data_ptr) > epsilon) 4062 if (de::abs(*in_short_data_ptr - *xfb_float_data_ptr) > epsilon)
|
/external/deqp/external/openglcts/modules/gles31/ |
H A D | es31cDrawIndirectTests.cpp | 493 tcu::Vec4 epsilon = tcu::Vec4( local 506 if (!ColorVerify(bufferTest[j + offsetTest], bufferRef[posXRef + offsetRef], epsilon)) 523 bool ColorVerify(T color, T colorExpected, tcu::Vec4 epsilon) argument 527 if (fabsf(colorExpected[i] - color[i]) > epsilon[i])
|
H A D | es31cShaderImageLoadStoreTests.cpp | 164 inline bool ColorEqual(const vec4& c0, const vec4& c1, const vec4& epsilon) argument 166 if (fabs(c0[0] - c1[0]) > epsilon[0]) 168 if (fabs(c0[1] - c1[1]) > epsilon[1]) 170 if (fabs(c0[2] - c1[2]) > epsilon[2]) 172 if (fabs(c0[3] - c1[3]) > epsilon[3])
|
/external/deqp/framework/referencerenderer/ |
H A D | rrRenderer.cpp | 947 const float epsilon = 0.0001f; local 951 if (de::abs(det) < epsilon)
|
/external/deqp/modules/gles3/performance/ |
H A D | es3pBufferDataUploadTests.cpp | 983 const float epsilon = 0.0001f; local 987 if (approachCoeffient < epsilon) 1002 const float epsilon = 1.e-6f; local 1014 const float errorAreaRatio = (aabbArea < epsilon) ? (1.0f) : (areaBetweenLines / aabbArea); 1039 const float epsilon = 1.e-6f; local 1050 const float errorAreaRatio = (aabbArea < epsilon) ? (1.0f) : (areaBetweenLines / aabbArea);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | DecimalFormat_ICU58_Android.java | 1024 div = (isNegative ? Math.floor(div + epsilon) : Math.ceil(div - epsilon)); 1027 div = (isNegative ? Math.ceil(div - epsilon) : Math.floor(div + epsilon)); 1030 div = (Math.floor(div + epsilon)); 1033 div = (Math.ceil(div - epsilon)); 1058 // trying instead using an epsilon value. 1065 if (floordiff + epsilon < ceildiff) { 1067 } else if (ceildiff + epsilon < floordiff) { 1075 div = ((floordiff <= ceildiff + epsilon) 1088 private static double epsilon = 0.00000000001; field in class:DecimalFormat_ICU58_Android [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | DecimalFormat_ICU58_Android.java | 1027 div = (isNegative ? Math.floor(div + epsilon) : Math.ceil(div - epsilon)); 1030 div = (isNegative ? Math.ceil(div - epsilon) : Math.floor(div + epsilon)); 1033 div = (Math.floor(div + epsilon)); 1036 div = (Math.ceil(div - epsilon)); 1061 // trying instead using an epsilon value. 1068 if (floordiff + epsilon < ceildiff) { 1070 } else if (ceildiff + epsilon < floordiff) { 1078 div = ((floordiff <= ceildiff + epsilon) 1091 private static double epsilon = 0.00000000001; field in class:DecimalFormat_ICU58_Android [all...] |
/external/tensorflow/tensorflow/compiler/xla/client/ |
H A D | computation_builder.cc | 1354 const ComputationDataHandle& offset, float epsilon, int64 feature_index) { 1361 request->set_epsilon(epsilon); 1369 const ComputationDataHandle& variance, float epsilon, int64 feature_index) { 1378 request->set_epsilon(epsilon); 1386 const ComputationDataHandle& grad_output, float epsilon, 1395 request->set_epsilon(epsilon); 1352 BatchNormTraining( const ComputationDataHandle& operand, const ComputationDataHandle& scale, const ComputationDataHandle& offset, float epsilon, int64 feature_index) argument 1366 BatchNormInference( const ComputationDataHandle& operand, const ComputationDataHandle& scale, const ComputationDataHandle& offset, const ComputationDataHandle& mean, const ComputationDataHandle& variance, float epsilon, int64 feature_index) argument 1383 BatchNormGrad( const ComputationDataHandle& operand, const ComputationDataHandle& scale, const ComputationDataHandle& mean, const ComputationDataHandle& var, const ComputationDataHandle& grad_output, float epsilon, int64 feature_index) argument
|
/external/tensorflow/tensorflow/stream_executor/ |
H A D | stream.cc | 320 const dnn::BatchDescriptor &scale_offset_desc, const double epsilon, 327 PARAM(scale_offset_desc), PARAM(epsilon), PARAM(y)); 332 scale_offset_desc, epsilon, y, batch_mean, batch_var, saved_mean, 346 const dnn::BatchDescriptor &scale_offset_desc, const double epsilon, 350 PARAM(scale_offset_desc), PARAM(epsilon), PARAM(x_backprop), 356 epsilon, x_backprop, scale_backprop, offset_backprop)); 370 const dnn::BatchDescriptor &scale_offset_desc, const double epsilon, 377 PARAM(scale_offset_desc), PARAM(epsilon), PARAM(y)); 382 scale_offset_desc, epsilon, y, batch_mean, batch_var, saved_mean, 397 const dnn::BatchDescriptor &scale_offset_desc, const double epsilon, 314 ThenBatchNormalizationForward( const DeviceMemory<float> &x, const DeviceMemory<float> &scale, const DeviceMemory<float> &offset, const DeviceMemory<float> &estimated_mean, const DeviceMemory<float> &estimated_variance, const dnn::BatchDescriptor &x_desc, const dnn::BatchDescriptor &scale_offset_desc, const double epsilon, DeviceMemory<float> *y, DeviceMemory<float> *batch_mean, DeviceMemory<float> *batch_var, DeviceMemory<float> *saved_mean, DeviceMemory<float> *saved_inv_var, bool is_training, std::function<const DeviceMemory<float> &()> var_to_inv_var, std::function<void()> inv_var_to_var) argument 342 ThenBatchNormalizationBackward( const DeviceMemory<float> &y_backprop, const DeviceMemory<float> &x, const DeviceMemory<float> &scale, const DeviceMemory<float> &mean, const DeviceMemory<float> &inv_var, const dnn::BatchDescriptor &x_desc, const dnn::BatchDescriptor &scale_offset_desc, const double epsilon, DeviceMemory<float> *x_backprop, DeviceMemory<float> *scale_backprop, DeviceMemory<float> *offset_backprop) argument 364 ThenBatchNormalizationForward( const DeviceMemory<Eigen::half> &x, const DeviceMemory<float> &scale, const DeviceMemory<float> &offset, const DeviceMemory<float> &estimated_mean, const DeviceMemory<float> &estimated_variance, const dnn::BatchDescriptor &x_desc, const dnn::BatchDescriptor &scale_offset_desc, const double epsilon, DeviceMemory<Eigen::half> *y, DeviceMemory<float> *batch_mean, DeviceMemory<float> *batch_var, DeviceMemory<float> *saved_mean, DeviceMemory<float> *saved_inv_var, bool is_training, std::function<const DeviceMemory<float> &()> var_to_inv_var, std::function<void()> inv_var_to_var) argument 392 ThenBatchNormalizationBackward( const DeviceMemory<Eigen::half> &y_backprop, const DeviceMemory<Eigen::half> &x, const DeviceMemory<float> &scale, const DeviceMemory<float> &mean, const DeviceMemory<float> &inv_var, const dnn::BatchDescriptor &x_desc, const dnn::BatchDescriptor &scale_offset_desc, const double epsilon, DeviceMemory<Eigen::half> *x_backprop, DeviceMemory<float> *scale_backprop, DeviceMemory<float> *offset_backprop) argument [all...] |