HomeSort by relevance Sort by last modified time
    Searched refs:weights (Results 26 - 50 of 106) sorted by null

12 3 4 5

  /external/opencv/ml/src/
mlboost.cpp 185 const double* weights = ensemble->get_subtree_weights()->data.db; local
200 double w = weights[i];
221 double w = weights[idx];
229 double w = weights[idx];
249 const double* weights = ensemble->get_subtree_weights()->data.db; local
252 const double* rcw0 = weights + n;
263 double w = weights[idx];
278 double w = weights[idx], w2 = w*w;
303 double w = weights[idx];
341 const double* weights = ensemble->get_subtree_weights()->data.db local
445 const double* weights = ensemble->get_subtree_weights()->data.db; local
493 const double* weights = ensemble->get_subtree_weights()->data.db; local
575 const double* weights = ensemble->get_subtree_weights()->data.db; local
641 const double* weights = ensemble->get_subtree_weights()->data.db; local
702 const double* weights = ensemble->get_weights()->data.db; local
    [all...]
mlem.cpp 74 means = weights = probs = inv_eigen_values = log_weight_div_det = 0;
81 means = weights = probs = inv_eigen_values = log_weight_div_det = 0;
99 cvReleaseMat( &weights );
156 const CvMat* p = params.weights;
178 if( params.weights )
180 const CvMat* w = params.weights;
186 CV_ERROR( CV_StsBadArg, "The array of weights must be a valid "
344 CV_CALL( weights = cvCreateMat( 1, nclusters, CV_64FC1 ));
429 if( params.weights && params.covs )
432 cvReshape( weights, weights, 1, params.weights->rows )
    [all...]
mlann_mlp.cpp 97 weights = 0;
110 weights = 0;
127 cvFree( &weights );
185 double* w = weights[i];
187 // initialize weights using Nguyen-Widrow algorithm
254 CV_CALL( weights = (double**)cvAlloc( (l_count+1)*sizeof(weights[0]) ));
256 weights[0] = wbuf->data.db;
257 weights[1] = weights[0] + l_dst[0]*2
    [all...]
  /external/openfst/src/include/fst/script/
rmepsilon.h 174 vector<typename Arc::Weight> weights; local
176 RmEpsilonHelper(fst, &weights, opts);
178 // Copy the weights back
179 args->arg2->resize(weights.size());
180 for (unsigned i = 0; i < weights.size(); ++i) {
181 (*args->arg2)[i] = WeightClass(weights[i]);
  /external/deqp/framework/delibs/decpp/
deRandom.cpp 147 // chooseWeighted(first, last, weights)
151 static const float weights[] = { 0.4f, 0.6f, 1.5f, 0.5f, 1.2f, 0.3f, 0.2f, 1.4f };
152 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(items) == DE_LENGTH_OF_ARRAY(weights));
157 DE_TEST_ASSERT(expected[i] == rnd.chooseWeighted<int>(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items), &weights[0]));
  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
Learning_StochasticLinearRanker.java 90 HashMap<String, Float> weights = new HashMap<String, Float>(); local
92 weights.put(temp.get(i).key, temp.get(i).value);
95 return mLearningSlRanker.setModelPriorWeights(weights);
  /external/chromium_org/third_party/opus/src/src/
mlp.c 97 const opus_val16 *W = m->weights;
121 const float *W = m->weights;
mlp_train.h 80 double **weights; member in struct:__anon19357
  /external/libopus/src/
mlp.c 97 const opus_val16 *W = m->weights;
121 const float *W = m->weights;
  /external/opencv/cv/src/
cvlinefit.cpp 46 icvFitLine2D_wods( CvPoint2D32f * points, int _count, float *weights, float *line )
56 if( weights == 0 )
72 x += weights[i] * points[i].x;
73 y += weights[i] * points[i].y;
74 x2 += weights[i] * points[i].x * points[i].x;
75 y2 += weights[i] * points[i].y * points[i].y;
76 xy += weights[i] * points[i].x * points[i].y;
77 w += weights[i];
102 icvFitLine3D_wods( CvPoint3D32f * points, int count, float *weights, float *line )
116 if( weights )
    [all...]
  /frameworks/rs/driver/runtime/
rs_sample.c 268 getBilinearSample1D(const Allocation_t *alloc, float2 weights,
276 return getSample_RGBA(p, iPixel, next, weights.x, weights.y);
278 return getSample_A(p, iPixel, next, weights.x, weights.y);
281 return getSample_565(p, iPixel, next, weights.x, weights.y);
283 return getSample_RGB(p, iPixel, next, weights.x, weights.y);
285 return getSample_L(p, iPixel, next, weights.x, weights.y)
442 float2 weights; local
    [all...]
  /external/deqp/modules/gles2/stress/
es2sDrawTests.cpp 211 float weights[SIZE]; member in struct:deqp::gles2::Stress::__anon3674::UniformWeightArray
216 weights[i] = 1.0f;
323 spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives), DE_ARRAY_END(primitives), primitiveWeights.weights);
325 spec.drawMethod = random.chooseWeighted<gls::DrawTestSpec::DrawMethod> (DE_ARRAY_BEGIN(drawMethods), DE_ARRAY_END(drawMethods), drawMethodWeights.weights);
326 spec.indexType = random.chooseWeighted<gls::DrawTestSpec::IndexType> (DE_ARRAY_BEGIN(indexTypes), DE_ARRAY_END(indexTypes), indexTypeWeights.weights);
328 spec.indexStorage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storages), DE_ARRAY_END(storages), storageWeights.weights);
343 attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(inputTypes), DE_ARRAY_END(inputTypes), inputTypeWeights.weights);
344 attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(outputTypes), DE_ARRAY_END(outputTypes), outputTypeWeights.weights);
345 attribSpec.storage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storages), DE_ARRAY_END(storages), storageWeights.weights);
346 attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), usageWeights.weights);
    [all...]
  /external/openfst/src/include/fst/
accumulator.h 19 // Classes to accumulate arc weights. Useful for weight lookahead.
40 // This class accumulates arc weights using the semiring Plus().
77 // This class accumulates arc weights using the log semiring Plus()
79 // and from log64 weights.
135 vector<double> *Weights() { return &weights_; }
148 // weights_. Position -1 means no pre-computed weights for that
157 // This class accumulates arc weights using the log semiring Plus()
159 // from log64 weights. The member function Init(fst) has to be called
188 vector<double> &weights = *data_->Weights(); local
386 vector<double>* weights; \/\/ Accumulated weights for this state. member in struct:fst::CacheLogAccumulatorData::CacheState
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
wbnf.cpp 439 Buffer_int weights; member in class:WeightedRand
446 for (int i=0; i<size; ++i) weights.append(DEFAULT_WEIGHT);
450 weights.append_array( (*weight_list),s);
451 for (int i=s; i<size; ++i) weights.append(DEFAULT_WEIGHT);
453 weights.append_array( (*weight_list),size);
457 int c = weights.content_size();
459 total += weights[i];
464 weights.append(weight);
492 mark -= weights[i]; // 0 <= mark <= total
738 Repeat(Pick * base, int minCount =0, int maxCount = 1, Buffer_int * weights = NULL)
1040 Buffer_int weights; local
    [all...]
  /external/deqp/modules/gles31/stress/
es31sDrawTests.cpp 313 float weights[SIZE];
318 weights[i] = 1.0f;
447 spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives), DE_ARRAY_END(primitives), primitiveWeights.weights);
449 spec.drawMethod = random.chooseWeighted<gls::DrawTestSpec::DrawMethod> (DE_ARRAY_BEGIN(drawMethods), DE_ARRAY_END(drawMethods), drawMethodWeights.weights);
461 spec.indexType = random.chooseWeighted<gls::DrawTestSpec::IndexType> (DE_ARRAY_BEGIN(indexTypes), DE_ARRAY_END(indexTypes), indexTypeWeights.weights);
480 attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(inputTypes), DE_ARRAY_END(inputTypes), inputTypeWeights.weights);
481 attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(outputTypes), DE_ARRAY_END(outputTypes), outputTypeWeights.weights);
483 attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), usageWeights.weights);
  /external/srec/srec/clib/
swimodel.c 375 PLogMessage("loaded models %s num_hmmstates %d num_dims %d num_pdfs %d weights[0] %d\n",
387 hmmstates[i].weights = weight_ptr;
453 weightptr = spd->weights;
  /frameworks/base/libs/hwui/
FontRenderer.h 214 static void computeGaussianWeights(float* weights, int32_t radius);
215 static void horizontalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest,
217 static void verticalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest,
  /external/chromium_org/ui/file_manager/gallery/js/image_editor/
filter.js 209 * @param {Array.<number>} weights See the picture above.
216 filter.convolve5x5 = function(weights, dst, src, offsetX, offsetY) {
217 var w0 = filter.floatToFixedPoint(weights[0]);
218 var w1 = filter.floatToFixedPoint(weights[1]);
219 var w2 = filter.floatToFixedPoint(weights[2]);
220 var w3 = filter.floatToFixedPoint(weights[3]);
432 * Return a convolution filter function bound to specific weights.
434 * @param {Array.<number>} weights Weights for the convolution matrix
438 filter.createConvolutionFilter = function(weights) {
    [all...]
  /external/deqp/framework/randomshaders/
rsgStatement.cpp 63 float weights[DE_LENGTH_OF_ARRAY(statementSpecs)]; local
65 // Compute weights
69 weights[ndx] = statementSpecs[ndx].getWeight(state);
70 sum += weights[ndx];
85 sum += weights[ndx];
91 else if (weights[ndx] > 0.0f)
255 // \todo [2011-05-26 pyry] Weights?
  /external/deqp/modules/gles2/functional/
es2fDrawTests.cpp 488 float weights[SIZE]; member in struct:deqp::gles2::Functional::__anon3579::UniformWeightArray
493 weights[i] = 1.0f;
600 spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives), DE_ARRAY_END(primitives), primitiveWeights.weights);
602 spec.drawMethod = random.chooseWeighted<gls::DrawTestSpec::DrawMethod> (DE_ARRAY_BEGIN(drawMethods), DE_ARRAY_END(drawMethods), drawMethodWeights.weights);
603 spec.indexType = random.chooseWeighted<gls::DrawTestSpec::IndexType> (DE_ARRAY_BEGIN(indexTypes), DE_ARRAY_END(indexTypes), indexTypeWeights.weights);
605 spec.indexStorage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storages), DE_ARRAY_END(storages), storageWeights.weights);
620 attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(inputTypes), DE_ARRAY_END(inputTypes), inputTypeWeights.weights);
621 attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(outputTypes), DE_ARRAY_END(outputTypes), outputTypeWeights.weights);
622 attribSpec.storage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storages), DE_ARRAY_END(storages), storageWeights.weights);
623 attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), usageWeights.weights);
    [all...]
  /external/deqp/modules/gles3/stress/
es3sDrawTests.cpp 403 float weights[SIZE]; member in struct:deqp::gles3::Stress::__anon3956::UniformWeightArray
408 weights[i] = 1.0f;
540 spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives), DE_ARRAY_END(primitives), primitiveWeights.weights);
542 spec.drawMethod = random.chooseWeighted<gls::DrawTestSpec::DrawMethod> (DE_ARRAY_BEGIN(drawMethods), DE_ARRAY_END(drawMethods), drawMethodWeights.weights);
543 spec.indexType = random.chooseWeighted<gls::DrawTestSpec::IndexType> (DE_ARRAY_BEGIN(indexTypes), DE_ARRAY_END(indexTypes), indexTypeWeights.weights);
545 spec.indexStorage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storages), DE_ARRAY_END(storages), storageWeights.weights);
560 attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(inputTypes), DE_ARRAY_END(inputTypes), inputTypeWeights.weights);
561 attribSpec.outputType = random.chooseWeighted<gls::DrawTestSpec::OutputType> (DE_ARRAY_BEGIN(outputTypes), DE_ARRAY_END(outputTypes), outputTypeWeights.weights);
562 attribSpec.storage = random.chooseWeighted<gls::DrawTestSpec::Storage> (DE_ARRAY_BEGIN(storages), DE_ARRAY_END(storages), storageWeights.weights);
563 attribSpec.usage = random.chooseWeighted<gls::DrawTestSpec::Usage> (DE_ARRAY_BEGIN(usages), DE_ARRAY_END(usages), usageWeights.weights);
    [all...]
  /external/opencv/ml/include/
ml.h 562 start_step(0/*CvEM::START_AUTO_STEP*/), probs(0), weights(0), means(0), covs(0)
572 probs(_probs), weights(_weights), means(_means), covs(_covs), term_crit(_term_crit)
579 const CvMat* weights; member in struct:CvEMParams
630 CvMat* weights; member in class:CvEM
1135 CvMat* weights; member in class:CvBoost
1235 double** weights; member in class:CvANN_MLP
    [all...]
  /external/chromium_org/third_party/skia/include/core/
SkPathRef.h 80 * requisite points & weights.
82 * If 'verb' is kConic_Verb, 'weights' will return a pointer to the
83 * space for the conic weights (indexed normally).
87 SkScalar** weights = NULL) {
88 return fPathRef->growForRepeatedVerb(verb, numVbs, weights);
357 * verb. If 'verb' is kConic_Verb, 'weights' will return a pointer to the
358 * uninitialized conic weights.
360 SkPoint* growForRepeatedVerb(int /*SkPath::Verb*/ verb, int numVbs, SkScalar** weights);
  /external/skia/include/core/
SkPathRef.h 79 * requisite points & weights.
81 * If 'verb' is kConic_Verb, 'weights' will return a pointer to the
82 * space for the conic weights (indexed normally).
86 SkScalar** weights = NULL) {
87 return fPathRef->growForRepeatedVerb(verb, numVbs, weights);
354 * verb. If 'verb' is kConic_Verb, 'weights' will return a pointer to the
355 * uninitialized conic weights.
357 SkPoint* growForRepeatedVerb(int /*SkPath::Verb*/ verb, int numVbs, SkScalar** weights);
  /hardware/samsung_slsi/exynos5/include/
ExynosCamera.h 606 bool setFocusAreas(int num, ExynosRect* rects, int *weights);
609 bool setFocusAreas(int num, ExynosRect2* rect2s, int *weights);
639 bool setMeteringAreas(int num, ExynosRect *rects, int *weights);
642 bool setMeteringAreas(int num, ExynosRect2 *rect2s, int *weights);

Completed in 1121 milliseconds

12 3 4 5