Searched defs:weights (Results 1 - 3 of 3) sorted by relevance

/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
H A DStochasticLinearRanker.java42 public HashMap<String, Float> weights = new HashMap<String, Float>(); field in class:StochasticLinearRanker.Model
95 slrModel.weights.put(wKeys[i], wValues[i]);
109 String[] wKeys = new String[model.weights.size()];
110 float[] wValues = new float[model.weights.size()];
112 for (Map.Entry<String, Float> e : model.weights.entrySet()){
144 for (Map.Entry<String, Float> e : model.weights.entrySet())
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_sample.c96 getSample##vecsize(rs_allocation a, float2 weights, \
102 return p0 * weights.x + p1 * weights.y; \
106 getSample##vecsize(rs_allocation a, float4 weights, \
116 return p0 * weights.x + p1 * weights.y + p2 * weights.z + p3 * weights.w; \
184 result.xyz = getSample565(a, weights, iPixel, next, lod); \
190 result.x = getSample1(a, weights, iPixe
234 getBilinearSample(rs_allocation a, float2 weights, uint32_t iPixel, uint32_t next, uint32_t vecSize, rs_data_type dt, uint32_t lod) argument
241 getBilinearSample(rs_allocation a, float4 weights, uint2 iPixel, uint2 next, uint32_t vecSize, rs_data_type dt, uint32_t lod) argument
279 float2 weights; local
335 float4 weights; local
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp627 void FontRenderer::computeGaussianWeights(float* weights, int32_t radius) { argument
628 // Compute gaussian weights for the blur
653 weights[r + radius] = coeff1 * pow(e, floatR * floatR * coeff2);
654 normalizeFactor += weights[r + radius];
657 //Now we need to normalize the weights because all our coefficients need to add up to one
660 weights[r + radius] *= normalizeFactor;
664 void FontRenderer::horizontalBlur(float* weights, int32_t radius, argument
676 const float* gPtr = weights;
708 void FontRenderer::verticalBlur(float* weights, int32_t radius, argument
718 const float* gPtr = weights;
[all...]

Completed in 55 milliseconds