/external/deqp/framework/delibs/decpp/ |
deRandom.cpp | 91 const float epsilon = 0.01f; local 94 DE_TEST_ASSERT(de::abs(expected[i] - rnd.getFloat()) < epsilon); 101 const float epsilon = 0.01f; 104 DE_TEST_ASSERT(de::abs(expected[i] - rnd.getFloat(-542.2f, 1248.7f)) < epsilon);
|
/external/mesa3d/src/mesa/main/ |
drawpix.c | 326 const GLfloat epsilon = 0.0001F; local 327 GLint x = IFLOOR(ctx->Current.RasterPos[0] + epsilon - xorig); 328 GLint y = IFLOOR(ctx->Current.RasterPos[1] + epsilon - yorig);
|
/external/tensorflow/tensorflow/python/keras/ |
backend_config.py | 25 # Epsilon fuzz factor used throughout the codebase. 32 @keras_export('keras.backend.epsilon') 33 def epsilon(): function 41 keras.backend.epsilon() >>>1e-07 52 value: float. New value of epsilon. 53 Example: ```python from keras import backend as K K.epsilon() >>> 1e-07 54 K.set_epsilon(1e-05) K.epsilon() >>> 1e-05 ```
|
/art/test/053-wait-some/src/ |
Main.java | 60 long epsilon = delay / 10; local 61 if (epsilon > 50) { 62 epsilon = 50; 65 long min = delay - epsilon; 66 long max = delay + epsilon;
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmComputeShaderTestUtil.cpp | 33 bool verifyOutputWithEpsilon (const std::vector<AllocationSp>& outputAllocs, const std::vector<Resource>& expectedOutputs, tcu::TestLog& log, const float epsilon) 50 // Use custom epsilon because of the float->string conversion 51 if (fabs(expectedFloats[floatNdx] - actualFloats[floatNdx]) > epsilon) 54 << " Expected: " << expectedFloats[floatNdx] << " Actual: " << actualFloats[floatNdx] << " Epsilon: " << epsilon << tcu::TestLog::EndMessage; 132 const float epsilon = 0.001f; local 133 return verifyOutputWithEpsilon(outputAllocs, expectedOutputs, log, epsilon);
|
/external/eigen/unsupported/test/ |
cxx11_tensor_simple.cpp | 159 Tensor<int, 3> epsilon(3,3,3); 160 epsilon.setZero(); 161 epsilon(0,1,2) = epsilon(2,0,1) = epsilon(1,2,0) = 1; 162 epsilon(2,1,0) = epsilon(0,2,1) = epsilon(1,0,2) = -1; 164 VERIFY_IS_EQUAL((epsilon.size()), 27); 165 VERIFY_IS_EQUAL((epsilon.dimensions()[0]), 3) 297 Tensor<int, 3> epsilon; local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
quantize_op_test.cc | 264 const int64 epsilon = 1 << 8; local 269 EXPECT_GT(epsilon, std::abs(delta))
|
eigen_mkldnn_contraction_kernel_test.cc | 141 Scalar epsilon = std::numeric_limits<Scalar>::epsilon(); local 142 Scalar upper_bound = Scalar(1.01) * epsilon * k * sum;
|
/external/lmfit/lib/ |
lmstruct.h | 43 double epsilon; /* Step used to calculate the Jacobian, should be member in struct:__anon32216
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
cudnn_batchnorm_rewriter.cc | 48 // cudnn defines CUDNN_BN_MIN_EPSILON = 1e-5 as the minimum acceptable epsilon 51 return batch_norm->epsilon() >= 1e-5; 70 HloInstruction* epsilon = local 72 LiteralUtil::CreateR0(batch_norm->epsilon()))); 79 operands.push_back(epsilon); 106 HloInstruction* epsilon = local 108 LiteralUtil::CreateR0(batch_norm->epsilon()))); 115 operands.push_back(epsilon); 124 // {output, mean, rsqrt(variance + epsilon)}, 142 variance_plus_epsilon->shape(), epsilon, {})))); 175 HloInstruction* epsilon = local [all...] |
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/ |
quantile_stream_resource.h | 30 // quantiles, maximum elements, and epsilon. 33 BoostedTreesQuantileStreamResource(const float epsilon, 37 epsilon_(epsilon), 43 streams_.push_back(QuantileStream(epsilon, max_elements)); 62 float epsilon() const { return epsilon_; } function in class:tensorflow::BoostedTreesQuantileStreamResource
|
/external/catch2/include/internal/ |
catch_approx.h | 24 // Validates the new epsilon (0 < epsilon < 1) 26 void setEpsilon(double epsilon); 91 Approx& epsilon( T const& newEpsilon ) { function in class:Catch::Detail::Approx
|
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/ |
esextcDrawBuffersIndexedColorMasks.cpp | 206 tcu::RGBA epsilon = GetEpsilon(); local 230 if (!VerifyImg(textureLevel, expected, epsilon)) 252 if (!VerifyImg(textureLevel, expected, epsilon)) 274 if (!VerifyImg(textureLevel, expected, epsilon)) 409 tcu::UVec4 epsilon; local 414 epsilon[i] = de::min( 418 return tcu::RGBA(epsilon.x(), epsilon.y(), epsilon.z(), epsilon.w()) [all...] |
esextcDrawBuffersIndexedBlending.cpp | 236 tcu::RGBA epsilon = GetEpsilon(); local 245 if (!VerifyImg(textureLevel, expected[i % 4], epsilon)) 375 tcu::UVec4 epsilon; local 380 epsilon[i] = de::min( 384 return tcu::RGBA(epsilon.x(), epsilon.y(), epsilon.z(), epsilon.w()); 388 tcu::RGBA epsilon) 395 if (!tcu::compareThreshold(pixel, expectedColor, epsilon)) [all...] |
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
esextcTessellationShaderMaxPatchVertices.cpp | 665 const glw::GLfloat epsilon = (glw::GLfloat)1e-5f; local 670 if (de::abs(resultFloats[i] - ref_fv[i]) > epsilon)
|
esextcTessellationShaderProperties.cpp | 66 const float epsilon = (float)1e-5; local 121 if ((n_components >= 1 && de::abs(float_value[0] - (float)expected_value) > epsilon) || 122 (n_components >= 2 && de::abs(float_value[1] - (float)expected_value) > epsilon) || 123 (n_components >= 3 && de::abs(float_value[2] - (float)expected_value) > epsilon) || 124 (n_components >= 4 && de::abs(float_value[3] - (float)expected_value) > epsilon))
|
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
esextcTextureCubeMapArrayGetterCalls.cpp | 421 const float epsilon = 1e-5f; local 442 if (de::abs(float_value - static_cast<float>(m_to_id)) > epsilon) 454 if (de::abs(float_value - static_cast<float>(m_to_id)) > epsilon) 514 const glw::GLfloat epsilon = 1e-5f; local 683 if ((should_use_equal_comparison && (de::abs(float_value - (expected_property_float_value)) > epsilon)) ||
|
/external/tensorflow/tensorflow/contrib/boosted_trees/resources/ |
quantile_stream_resource.h | 34 QuantileStreamResource(const float epsilon, const int32 num_quantiles, 37 : stream_(epsilon, max_elements), 39 epsilon_(epsilon), 66 float epsilon() const { return epsilon_; } function in class:tensorflow::boosted_trees::QuantileStreamResource
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
PoissonDistributionImpl.java | 70 private double epsilon = DEFAULT_EPSILON; field in class:PoissonDistributionImpl 88 * @param epsilon the convergence criteria for cumulative probabilites 92 public PoissonDistributionImpl(double p, double epsilon, int maxIterations) { 94 this.epsilon = epsilon; 102 * @param epsilon the convergence criteria for cumulative probabilites 105 public PoissonDistributionImpl(double p, double epsilon) { 107 this.epsilon = epsilon; 219 return Gamma.regularizedGammaQ((double) x + 1, mean, epsilon, maxIterations) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
OpenMapRealVector.java | 47 private final double epsilon; field in class:OpenMapRealVector 73 * @param epsilon The tolerance for having a value considered zero 75 public OpenMapRealVector(int dimension, double epsilon) { 78 this.epsilon = epsilon; 89 epsilon = v.epsilon; 105 * @param epsilon The tolerance for having a value considered zero 107 public OpenMapRealVector(int dimension, int expectedSize, double epsilon) { 110 this.epsilon = epsilon [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/ |
SimplexSolver.java | 39 protected final double epsilon; field in class:SimplexSolver 50 * @param epsilon the amount of error to accept in floating point comparisons 52 public SimplexSolver(final double epsilon) { 53 this.epsilon = epsilon; 65 if (MathUtils.compareTo(tableau.getEntry(0, i), minValue, epsilon) < 0) { 86 if (MathUtils.compareTo(entry, 0, epsilon) > 0) { 88 if (MathUtils.equals(ratio, minRatio, epsilon)) { 106 if (MathUtils.equals(tableau.getEntry(row, column), 1, epsilon) && 165 if (!MathUtils.equals(tableau.getEntry(0, tableau.getRhsOffset()), 0, epsilon)) { [all...] |
/external/deqp/external/openglcts/modules/gles31/ |
es31cTextureStorageMultisampleGLCoverageTests.cpp | 100 const float epsilon = (float)1e-5; local 139 if (de::abs(float_value - float(int_value)) > epsilon) 152 const float epsilon = (float)1e-5; local 163 if (bool_value != GL_FALSE || de::abs(float_value) > epsilon || int_value != 0) 182 if (bool_value != GL_FALSE || de::abs(float_value) > epsilon || int_value != 0) 224 if (bool_value != GL_TRUE || de::abs(float_value - expected_float_value) > epsilon || 246 if (bool_value != GL_TRUE || de::abs(float_value - expected_float_value) > epsilon || 305 const float epsilon = (float)1e-5; local 474 if (de::abs(float(expected_int_value) - float_value) > epsilon) 509 const float epsilon = (float)1e-5 local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationFractionalSpacingTests.cpp | 176 const float epsilon = 0.001f; local 179 if (de::abs(seg.length - segmentsA[0].length) < epsilon) 181 else if (segmentsB.empty() || de::abs(seg.length - segmentsB[0].length) < epsilon)
|
/external/fonttools/Lib/fontTools/misc/ |
bezierTools.py | 59 epsilon = 1e-10 variable 112 if abs(origDist) < epsilon: 446 if abs(a) < epsilon: 447 if abs(b) < epsilon: 492 if abs(a) < epsilon: 506 R2 = 0 if R2 < epsilon else R2 507 Q3 = 0 if abs(Q3) < epsilon else Q3 514 elif R2_Q3 <= epsilon * .5: 515 # The epsilon * .5 above ensures that Q3 is not zero. 524 if x1 - x0 < epsilon and x2 - x1 < epsilon [all...] |
/external/libaom/libaom/test/ |
av1_nn_predict_test.cc | 32 const float epsilon = 1e-3f; // Error threshold for functional equivalence member in namespace:__anon26713 123 if (outputs_ref[node] < epsilon) { 124 ASSERT_LE(outputs_test[node], epsilon) 130 ASSERT_LE(relative_error, epsilon)
|