/external/tensorflow/tensorflow/contrib/factorization/python/ops/ |
D | gmm_ops_test.py | 159 alphas = sess.run(gmm_tool.alphas()) 160 self.assertGreater(alphas[1], 0.6) 175 alphas = sess.run(gmm_tool.alphas()) 176 self.assertAlmostEqual(alphas[0], alphas[1]) 194 alphas = sess.run(gmm_tool.alphas()) 195 self.assertAlmostEqual(alphas[0], alphas[1])
|
/external/skia/src/opts/ |
D | SkXfermode_opts.h | 34 XFERMODE(SrcIn) { return s.approxMulDiv255(d.alphas() ); } in XFERMODE() 35 XFERMODE(SrcOut) { return s.approxMulDiv255(d.alphas().inv()); } in XFERMODE() 36 XFERMODE(SrcOver) { return s + d.approxMulDiv255(s.alphas().inv()); } in XFERMODE() 42 XFERMODE(SrcATop) { return (s * d.alphas() + d * s.alphas().inv()).div255(); } in XFERMODE() 45 XFERMODE(Xor) { return (s * d.alphas().inv() + d * s.alphas().inv()).div255(); } in XFERMODE()
|
D | Sk4px_SSE2.h | 37 inline Sk4px Sk4px::alphas() const { in alphas() function 50 inline Sk4px Sk4px::alphas() const { in alphas() function 69 uint16_t alphas; in Load2Alphas() local 70 memcpy(&alphas, a, 2); in Load2Alphas() 71 uint32_t alphas_and_two_zeros = alphas; // Aa -> Aa00 in Load2Alphas()
|
D | SkBlitRow_opts.h | 201 uint8x8_t alphas = src_col.val[3]; in blit_row_s32a_opaque() local 202 uint64_t alphas_u64 = vget_lane_u64(vreinterpret_u64_u8(alphas), 0); in blit_row_s32a_opaque()
|
D | Sk4px_none.h | 37 inline Sk4px Sk4px::alphas() const { in alphas() function
|
/external/skqp/src/opts/ |
D | SkXfermode_opts.h | 34 XFERMODE(SrcIn) { return s.approxMulDiv255(d.alphas() ); } in XFERMODE() 35 XFERMODE(SrcOut) { return s.approxMulDiv255(d.alphas().inv()); } in XFERMODE() 36 XFERMODE(SrcOver) { return s + d.approxMulDiv255(s.alphas().inv()); } in XFERMODE() 42 XFERMODE(SrcATop) { return (s * d.alphas() + d * s.alphas().inv()).div255(); } in XFERMODE() 45 XFERMODE(Xor) { return (s * d.alphas().inv() + d * s.alphas().inv()).div255(); } in XFERMODE()
|
D | Sk4px_SSE2.h | 37 inline Sk4px Sk4px::alphas() const { in alphas() function 50 inline Sk4px Sk4px::alphas() const { in alphas() function 69 uint16_t alphas; in Load2Alphas() local 70 memcpy(&alphas, a, 2); in Load2Alphas() 71 uint32_t alphas_and_two_zeros = alphas; // Aa -> Aa00 in Load2Alphas()
|
D | SkBlitRow_opts.h | 201 uint8x8_t alphas = src_col.val[3]; in blit_row_s32a_opaque() local 202 uint64_t alphas_u64 = vget_lane_u64(vreinterpret_u64_u8(alphas), 0); in blit_row_s32a_opaque()
|
D | Sk4px_none.h | 37 inline Sk4px Sk4px::alphas() const { in alphas() function
|
/external/webp/src/enc/ |
D | analysis_enc.c | 143 const int alphas[MAX_ALPHA + 1]) { in AssignSegments() 161 for (n = 0; n <= MAX_ALPHA && alphas[n] == 0; ++n) {} in AssignSegments() 163 for (n = MAX_ALPHA; n > min_a && alphas[n] == 0; --n) {} in AssignSegments() 184 if (alphas[a]) { in AssignSegments() 190 dist_accum[n] += a * alphas[a]; in AssignSegments() 191 accum[n] += alphas[a]; in AssignSegments() 361 int alphas[MAX_ALPHA + 1], in MBAnalyze() 387 alphas[best_alpha]++; in MBAnalyze() 430 int alphas[MAX_ALPHA + 1]; member 447 MBAnalyze(it, job->alphas, &job->alpha, &job->uv_alpha); in DoSegmentsJob() [all …]
|
/external/skia/src/core/ |
D | SkScan_AAAPath.cpp | 599 static inline void computeAlphaAboveLine(SkAlpha* alphas, SkFixed l, SkFixed r, in computeAlphaAboveLine() argument 607 alphas[0] = getPartialAlpha(((R << 17) - l - r) >> 9, fullAlpha); in computeAlphaAboveLine() 612 alphas[0] = SkFixedMul(first, firstH) >> 9; // triangle alpha in computeAlphaAboveLine() 615 alphas[i] = alpha16 >> 8; in computeAlphaAboveLine() 618 alphas[R - 1] = fullAlpha - partialTriangleToAlpha(last, dY); in computeAlphaAboveLine() 624 SkAlpha* alphas, SkFixed l, SkFixed r, SkFixed dY, SkAlpha fullAlpha) { in computeAlphaBelowLine() argument 631 alphas[0] = getPartialAlpha(trapezoidToAlpha(l, r), fullAlpha); in computeAlphaBelowLine() 636 alphas[R-1] = SkFixedMul(last, lastH) >> 9; // triangle alpha in computeAlphaBelowLine() 639 alphas[i] = (alpha16 >> 8) & 0xFF; in computeAlphaBelowLine() 642 alphas[0] = fullAlpha - partialTriangleToAlpha(first, dY); in computeAlphaBelowLine() [all …]
|
D | SkBlitter.cpp | 71 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitFatAntiRect() local 87 alphas[0] = ScalarToAlpha(partialL * partialT); in blitFatAntiRect() 88 alphas[1] = ScalarToAlpha(partialT); in blitFatAntiRect() 89 alphas[bounds.width() - 1] = ScalarToAlpha(partialR * partialT); in blitFatAntiRect() 90 this->blitAntiH(bounds.fLeft, bounds.fTop, alphas, runs); in blitFatAntiRect() 98 alphas[0] = ScalarToAlpha(partialL * partialB); in blitFatAntiRect() 99 alphas[1] = ScalarToAlpha(partialB); in blitFatAntiRect() 100 alphas[bounds.width() - 1] = ScalarToAlpha(partialR * partialB); in blitFatAntiRect() 101 this->blitAntiH(bounds.fLeft, bounds.fBottom - 1, alphas, runs); in blitFatAntiRect() 110 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitCoverageDeltas() local [all …]
|
/external/skqp/src/core/ |
D | SkScan_AAAPath.cpp | 599 static inline void computeAlphaAboveLine(SkAlpha* alphas, SkFixed l, SkFixed r, in computeAlphaAboveLine() argument 607 alphas[0] = getPartialAlpha(((R << 17) - l - r) >> 9, fullAlpha); in computeAlphaAboveLine() 612 alphas[0] = SkFixedMul(first, firstH) >> 9; // triangle alpha in computeAlphaAboveLine() 615 alphas[i] = alpha16 >> 8; in computeAlphaAboveLine() 618 alphas[R - 1] = fullAlpha - partialTriangleToAlpha(last, dY); in computeAlphaAboveLine() 624 SkAlpha* alphas, SkFixed l, SkFixed r, SkFixed dY, SkAlpha fullAlpha) { in computeAlphaBelowLine() argument 631 alphas[0] = getPartialAlpha(trapezoidToAlpha(l, r), fullAlpha); in computeAlphaBelowLine() 636 alphas[R-1] = SkFixedMul(last, lastH) >> 9; // triangle alpha in computeAlphaBelowLine() 639 alphas[i] = alpha16 >> 8; in computeAlphaBelowLine() 642 alphas[0] = fullAlpha - partialTriangleToAlpha(first, dY); in computeAlphaBelowLine() [all …]
|
D | SkBlitter.cpp | 70 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitFatAntiRect() local 86 alphas[0] = ScalarToAlpha(partialL * partialT); in blitFatAntiRect() 87 alphas[1] = ScalarToAlpha(partialT); in blitFatAntiRect() 88 alphas[bounds.width() - 1] = ScalarToAlpha(partialR * partialT); in blitFatAntiRect() 89 this->blitAntiH(bounds.fLeft, bounds.fTop, alphas, runs); in blitFatAntiRect() 97 alphas[0] = ScalarToAlpha(partialL * partialB); in blitFatAntiRect() 98 alphas[1] = ScalarToAlpha(partialB); in blitFatAntiRect() 99 alphas[bounds.width() - 1] = ScalarToAlpha(partialR * partialB); in blitFatAntiRect() 100 this->blitAntiH(bounds.fLeft, bounds.fBottom - 1, alphas, runs); in blitFatAntiRect() 109 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitCoverageDeltas() local [all …]
|
/external/skqp/docs/ |
D | SkBlendMode_Reference.bmh | 317 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; 319 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), 341 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; 343 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), 365 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; 367 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), 390 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; 392 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), 415 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; 417 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), [all …]
|
/external/skia/docs/ |
D | SkBlendMode_Reference.bmh | 317 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; 319 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), 341 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; 343 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), 365 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; 367 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), 390 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; 392 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), 415 SkColor alphas[] = { SK_ColorBLACK, SK_ColorTRANSPARENT }; 417 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), [all …]
|
/external/webp/src/dsp/ |
D | alpha_processing_neon.c | 96 const uint8x8_t alphas = vld1_u8(alpha + i); in DispatchAlpha_NEON() local 97 rgbX.val[0] = alphas; in DispatchAlpha_NEON() 99 mask8 = vand_u8(mask8, alphas); in DispatchAlpha_NEON() 147 const uint8x8_t alphas = rgbX.val[0]; in ExtractAlpha_NEON() local 148 vst1_u8((uint8_t*)(alpha + i), alphas); in ExtractAlpha_NEON() 149 mask8 = vand_u8(mask8, alphas); in ExtractAlpha_NEON()
|
/external/tensorflow/tensorflow/contrib/image/python/ops/ |
D | dense_image_warp.py | 91 alphas = [] 124 alphas.append(alpha) 158 interp_top = alphas[1] * (top_right - top_left) + top_left 159 interp_bottom = alphas[1] * (bottom_right - bottom_left) + bottom_left 160 interp = alphas[0] * (interp_bottom - interp_top) + interp_top
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ |
D | TypeInference.java | 75 List<InferenceVariable> alphas = InferenceVariable.instantiate(Ps); in instantiationInference() local 78 theta = theta.withPair(Ps.get(0), alphas.get(0)); in instantiationInference() 83 BoundSet B0 = boundSetup(Ps, alphas); in instantiationInference() 92 B1 = B1.withBound(new ThrowsBound(alphas.get(i))); in instantiationInference() 140 Optional<InstantiationSet> instantiation = B2.performResolution(alphas, typeSolver); in instantiationInference() 347 …List<InferenceVariable> alphas = InferenceVariable.instantiate(interfaceDeclaration.getTypeParamet… in functionalInterfaceParameterizationInference() local 349 TypeInferenceCache.recordInferenceVariables(typeSolver, lambdaExpr, alphas); in functionalInterfaceParameterizationInference()
|
D | BoundSet.java | 470 …private boolean thereIsSomeJSuchThatβequalAlphaJ(Set<InferenceVariable> alphas, InferenceVariable … in equalAlphaJ() argument 471 for (InferenceVariable alphaJ : alphas) { in equalAlphaJ() 526 …private boolean hasProperty(Set<InferenceVariable> alphas, List<VariableDependency> dependencies) { in hasProperty() argument 527 for (InferenceVariable alphaI: alphas) { in hasProperty() 533 if (!hasInstantiationFor(beta) && !thereIsSomeJSuchThatβequalAlphaJ(alphas, beta)) { in hasProperty() 647 … for (Set<InferenceVariable> alphas: allSetsWithProperty(uninstantiatedPortionOfV, dependencies)) { in performResolution() 652 boolean hasSomeCaptureForAlphas = alphas.stream().anyMatch( in performResolution() 661 for (InferenceVariable alphaI : alphas) { in performResolution()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | random_op_test.cc | 77 Tensor alphas(DT_DOUBLE, TensorShape({n})); in VecAlphas() local 81 alphas.vec<double>()(i) = in VecAlphas() 84 return alphas; in VecAlphas()
|
/external/skia/gm/ |
D | modecolorfilters.cpp | 101 SkColor alphas[] = {0xFFFFFFFF, 0x80808080}; in onDraw() local 129 int paintColorCnt = hasShader ? SK_ARRAY_COUNT(alphas) : SK_ARRAY_COUNT(colors); in onDraw() 130 SkColor* paintColors = hasShader ? alphas : colors; in onDraw()
|
/external/skqp/gm/ |
D | modecolorfilters.cpp | 101 SkColor alphas[] = {0xFFFFFFFF, 0x80808080}; in onDraw() local 129 int paintColorCnt = hasShader ? SK_ARRAY_COUNT(alphas) : SK_ARRAY_COUNT(colors); in onDraw() 130 SkColor* paintColors = hasShader ? alphas : colors; in onDraw()
|
/external/tensorflow/tensorflow/python/kernel_tests/random/ |
D | random_gamma_test.py | 77 alphas = [0.2, 1.0, 3.0] 79 alphas = [0.01] + alphas 80 for alpha in alphas:
|
/external/eigen/doc/snippets/ |
D | GeneralizedEigenSolver.cpp | 5 cout << "The (complex) numerators of the generalzied eigenvalues are: " << ges.alphas().transpose()…
|