/external/tensorflow/tensorflow/core/kernels/ |
training_ops.cc | 73 typename TTypes<T>::ConstScalar epsilon, 78 (accum_update + epsilon()).sqrt() * (accum + epsilon()).rsqrt() * grad; 292 typename TTypes<T>::ConstScalar epsilon, 305 (v.sqrt() + epsilon()); 307 var.device(d) -= (m * alpha) / (v.sqrt() + epsilon()); 318 T epsilon, typename TTypes<T>::ConstFlat grad) { 323 var.device(d) -= (m * alpha) / (v.sqrt() + epsilon); 338 typename TTypes<T>::ConstScalar epsilon, 342 mom * momentum() + (grad * lr()) / ((ms + epsilon()).sqrt()) 586 const Tensor& epsilon = ctx->input(5); local 627 const Tensor& epsilon = ctx->input(5); local 743 const Tensor& epsilon = ctx->input(5); local 2519 const Tensor& epsilon = ctx->input(8); variable 2616 T epsilon = 0; variable 2777 const Tensor& epsilon = ctx->input(6); variable 2866 const Tensor& epsilon = ctx->input(7); variable 3017 const Tensor& epsilon = ctx->input(6); variable 3149 const Tensor& epsilon = ctx->input(7); variable [all...] |
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", &epsilon)) 1036 float epsilon; local [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
LayoutTest.java | 604 final float epsilon = 1.0f; local 609 assertTrue(bounds.top >= layout.getLineTop(i) - epsilon); 610 assertTrue(bounds.bottom <= layout.getLineBottom(i) + epsilon);
|
/frameworks/native/services/surfaceflinger/tests/ |
Transaction_test.cpp | 436 const float epsilon = 1.0f / 16.0f; local 437 Transaction().setPosition(layer, 0.5f - epsilon, 0.5f - epsilon).apply(); 443 Transaction().setPosition(layer, 0.5f + epsilon, 0.5f + epsilon).apply(); [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Blend.cpp | 1131 const double epsilon = 1e-5; local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
FastMath.java | 776 /* epsilon is the difference in x from the nearest multiple of 2^-10. It 777 * has a value in the range 0 <= epsilon < 2^-10. 780 final double epsilon = x - (intVal + intFrac / 1024.0); local 782 /* Compute z = exp(epsilon) - 1.0 via a minimax polynomial. z has 790 z = z * epsilon + 0.1666666505023083; 791 z = z * epsilon + 0.5000000000042687; 792 z = z * epsilon + 1.0; 793 z = z * epsilon + -3.940510424527919E-20; 859 double epsilon; local 880 epsilon = x - intFrac/1024.0 1348 double epsilon = (bits & 0x3ffffffffffL) \/ (TWO_POWER_52 + (bits & 0x000ffc0000000000L)); local 1490 double epsilon = 0.5 * fx1 + 1.0; local 1988 final double epsilon = xa - EIGHTHS[idx]; \/\/idx*0.125; local 2132 final double epsilon = xa - EIGHTHS[idx]; \/\/idx*0.125; local [all...] |
/external/deqp/external/openglcts/modules/gles31/ |
es31cComputeShaderTests.cpp | 244 inline bool ColorEqual(const vec4& c0, const vec4& c1, const vec4& epsilon) 246 if (distance(c0.x(), c1.x()) > epsilon.x()) 248 if (distance(c0.y(), c1.y()) > epsilon.y()) 250 if (distance(c0.z(), c1.z()) > epsilon.z()) 252 if (distance(c0.w(), c1.w()) > epsilon.w()) 257 inline bool ColorEqual(const vec3& c0, const vec3& c1, const vec4& epsilon) 259 if (distance(c0.x(), c1.x()) > epsilon.x()) 261 if (distance(c0.y(), c1.y()) > epsilon.y()) 263 if (distance(c0.z(), c1.z()) > epsilon.z()) 4168 vec4 epsilon = vec4(1.0f \/ 255.0f, 1.0f \/ 255.0f, 1.0f \/ 255.0f, 1.0f \/ 255.0f); \/\/ texture format is RGBA8. local [all...] |
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) 527 if (fabsf(colorExpected[i] - color[i]) > epsilon[i]) [all...] |
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
esextcGeometryShaderRendering.cpp | 1883 const unsigned int epsilon = 1; local 3378 const float epsilon = 1.0f \/ 256.0f; local 5373 const float epsilon = 1.0f \/ 256.0f; local [all...] |
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
esextcTessellationShaderInvariance.cpp | 1542 const glw::GLfloat epsilon = 1e-4f; local 2110 const float epsilon = 1e-5f; local 2579 const float epsilon = 1e-5f; local 2843 const float epsilon = 1e-5f; local [all...] |
esextcTessellationShaderTCTE.cpp | 912 const float epsilon = 1e-5f; local 938 if (de::abs(data - expected_value) > 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/framework/referencerenderer/ |
rrRenderer.cpp | 947 const float epsilon = 0.0001f; local 951 if (de::abs(det) < epsilon) [all...] |
/external/deqp/modules/gles3/functional/ |
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); [all...] |
/external/eigen/unsupported/test/mpreal/ |
mpreal.h | 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 3021 inline static mpfr::mpreal epsilon(const mpfr::mpreal& x) { return mpfr::machine_epsilon(x); } function in class:std::numeric_limits [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
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=*/epsilon_value 380 const HloInstruction* epsilon = custom_call->operand(5); local [all...] |
/external/tensorflow/tensorflow/compiler/xla/tools/parser/ |
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"] = {/*required=*/true, AttrTy::kFloat, &epsilon} [all...] |
/external/tensorflow/tensorflow/core/graph/ |
mkl_layout_pass.cc | 1654 float epsilon; local [all...] |
/external/tensorflow/tensorflow/python/keras/_impl/keras/ |
backend.py | 90 # Epsilon fuzz factor used throughout the codebase. 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() [all...] |
/external/deqp/external/openglcts/modules/gl/ |
gl4cCopyImageTests.cpp | 520 /** Get epsilon for given internal_format 524 * @return Epsilon value 528 GLdouble epsilon; local 591 epsilon = 0.0; 595 epsilon = 0.00390625; 602 return epsilon; [all...] |
gl4cVertexAttrib64BitTest.cpp | 3835 const float epsilon = 1e-5f; local [all...] |
gl4cTextureViewTests.cpp | 3141 const float epsilon = 1e-5f; local 8431 const int epsilon = 1; local 9767 const unsigned char epsilon = 1; local [all...] |
/external/deqp/modules/gles3/performance/ |
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 [all...] |
/external/opencv/ml/src/ |
mltree.cpp | 1568 const float epsilon = FLT_EPSILON*2; local 2050 const float epsilon = FLT_EPSILON*2; local [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
TextUtilsTest.java | 150 final float epsilon = fullWidth / 20; local 151 for (float width = epsilon; width < fullWidth - epsilon / 2; width += epsilon) { [all...] |
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmInstructionTests.cpp | 7915 const float epsilon = 0.00001f; local [all...] |